]> code.ossystems Code Review - openembedded-core.git/commitdiff
automake: added 1.9.6
authorMarcin Juszkiewicz <hrw@openedhand.com>
Wed, 1 Aug 2007 12:08:55 +0000 (12:08 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Wed, 1 Aug 2007 12:08:55 +0000 (12:08 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2258 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/automake/automake-native_1.9.6.bb [new file with mode: 0644]
meta/packages/automake/automake_1.9.6.bb [new file with mode: 0644]

diff --git a/meta/packages/automake/automake-native_1.9.6.bb b/meta/packages/automake/automake-native_1.9.6.bb
new file mode 100644 (file)
index 0000000..92c861f
--- /dev/null
@@ -0,0 +1,3 @@
+PV := "${PV}"
+
+require automake-native.inc
diff --git a/meta/packages/automake/automake_1.9.6.bb b/meta/packages/automake/automake_1.9.6.bb
new file mode 100644 (file)
index 0000000..1235c10
--- /dev/null
@@ -0,0 +1,29 @@
+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
+}