summaryrefslogtreecommitdiff
path: root/packages/automake/automake_1.9.6.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-12-14 20:00:31 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-12-14 20:00:31 +0000
commit3be08f0d450e65b310ed6e15d2dabe606f607c0f (patch)
treee3e6e174c606ba91142fb099dff317da53a4b5a3 /packages/automake/automake_1.9.6.bb
parentcb0ba4ccc336e946f63ba1a6e63daf2c60f82817 (diff)
automake: added 1.9.6 (DEF_PREF=-1 as not yet tested)
Diffstat (limited to 'packages/automake/automake_1.9.6.bb')
-rw-r--r--packages/automake/automake_1.9.6.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/automake/automake_1.9.6.bb b/packages/automake/automake_1.9.6.bb
new file mode 100644
index 0000000000..eef69f4e4a
--- /dev/null
+++ b/packages/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"