[oe-commits] Robert Schuster : automake 1.9.6: Retrieve recipe from history.
GIT User account
git at amethyst.openembedded.net
Thu Mar 19 23:53:53 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3eaf6239186f82ac37e8e9772d51b1d686f36c1b
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3eaf6239186f82ac37e8e9772d51b1d686f36c1b
Author: Robert Schuster <thebohemian at gmx.net>
Date: Fri Mar 20 00:51:26 2009 +0100
automake 1.9.6: Retrieve recipe from history.
automake-native 1.9.6: Retrieve recipe from history.
---
recipes/automake/automake-native_1.9.6.bb | 3 ++
recipes/automake/automake_1.9.6.bb | 31 +++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/recipes/automake/automake-native_1.9.6.bb b/recipes/automake/automake-native_1.9.6.bb
new file mode 100644
index 0000000..92c861f
--- /dev/null
+++ b/recipes/automake/automake-native_1.9.6.bb
@@ -0,0 +1,3 @@
+PV := "${PV}"
+
+require automake-native.inc
diff --git a/recipes/automake/automake_1.9.6.bb b/recipes/automake/automake_1.9.6.bb
new file mode 100644
index 0000000..eef69f4
--- /dev/null
+++ b/recipes/automake/automake_1.9.6.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "A tool for automatically generating Makefiles."
+LICENSE = "GPL"
+HOMEPAGE = "http://www.gnu.org/software/automake/"
+SECTION = "devel"
+
+SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2 \
+ ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}"
+
+S = "${WORKDIR}/automake-${PV}"
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/automake-${PV}"
+
+inherit autotools
+
+export AUTOMAKE = "${@bb.which('automake', bb.data.getVar('PATH', d, 1))}"
+FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*"
+
+require automake.inc
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+ install -d ${D}${datadir}
+ if [ ! -e ${D}${datadir}/aclocal ]; then
+ ln -sf aclocal-1.9 ${D}${datadir}/aclocal
+ fi
+ if [ ! -e ${D}${datadir}/automake ]; then
+ ln -sf automake-1.9 ${D}${datadir}/automake
+ fi
+}
+
+DEFAULT_PREFERENCE = "-1"
More information about the Openembedded-commits
mailing list