summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-29 16:02:06 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-29 16:02:06 +0000
commit08f4cc94d64ced5ead1b6bd7cbcf6d71f5b26ec8 (patch)
tree0e43c21d9c7af0959b4a408f84fb248a9a85a60e /meta
parent50d9304068e5ee151b2bc29e14adbfaabe203738 (diff)
downloadopenembedded-core-08f4cc94d64ced5ead1b6bd7cbcf6d71f5b26ec8.tar.gz
openembedded-core-08f4cc94d64ced5ead1b6bd7cbcf6d71f5b26ec8.tar.bz2
openembedded-core-08f4cc94d64ced5ead1b6bd7cbcf6d71f5b26ec8.zip
automake: Add 1.11.1 using BBCLASSEXTEND (not default)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/automake/automake/path_prog_fixes.patch (renamed from meta/packages/automake/files/path_prog_fixes.patch)0
-rw-r--r--meta/packages/automake/automake_1.11.1.bb50
2 files changed, 50 insertions, 0 deletions
diff --git a/meta/packages/automake/files/path_prog_fixes.patch b/meta/packages/automake/automake/path_prog_fixes.patch
index fb38442e30..fb38442e30 100644
--- a/meta/packages/automake/files/path_prog_fixes.patch
+++ b/meta/packages/automake/automake/path_prog_fixes.patch
diff --git a/meta/packages/automake/automake_1.11.1.bb b/meta/packages/automake/automake_1.11.1.bb
new file mode 100644
index 0000000000..0e75418181
--- /dev/null
+++ b/meta/packages/automake/automake_1.11.1.bb
@@ -0,0 +1,50 @@
+require automake.inc
+
+DEPENDS_virtclass-native = "autoconf-native"
+
+RDEPENDS_automake += "\
+ autoconf \
+ perl \
+ perl-module-bytes \
+ perl-module-constant \
+ perl-module-cwd \
+ perl-module-data-dumper \
+ perl-module-dynaloader \
+ perl-module-errno \
+ perl-module-exporter-heavy \
+ perl-module-file-basename \
+ perl-module-file-compare \
+ perl-module-file-copy \
+ perl-module-file-glob \
+ perl-module-file-spec-unix \
+ perl-module-file-stat \
+ perl-module-getopt-long \
+ perl-module-io \
+ perl-module-io-file \
+ perl-module-posix \
+ perl-module-strict \
+ perl-module-text-parsewords \
+ perl-module-vars "
+
+RDEPENDS_automake-native = "autoconf-native perl-native-runtime"
+
+PATHFIXPATCH = "file://path_prog_fixes.patch;patch=1"
+PATHFIXPATCH_virtclass-native = ""
+
+SRC_URI += "${PATHFIXPATCH}"
+
+NATIVE_INSTALL_WORKS = "1"
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+ install -d ${D}${datadir}
+ if [ ! -e ${D}${datadir}/aclocal ]; then
+ ln -sf aclocal-1.10 ${D}${datadir}/aclocal
+ fi
+ if [ ! -e ${D}${datadir}/automake ]; then
+ ln -sf automake-1.10 ${D}${datadir}/automake
+ fi
+}
+
+BBCLASSEXTEND = "native"
+
+DEFAULT_PREFERENCE = "-1"