summaryrefslogtreecommitdiff
path: root/automake
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-27 21:54:43 +0000
committerChris Larson <clarson@kergoth.com>2003-10-27 21:54:43 +0000
commitf7f28b5d20d04ef02de1e6c4215e7ca3de9fdc83 (patch)
treef7c43196f0d28d784e6c312fa4c3387093d47852 /automake
parent7ea921be10916d3eb33fffff0cbc39e8a41d3474 (diff)
create aclocal/automake symlinks in share if necessary.
BKrev: 3f9d9423CQriuIFBKZ6c-is5-yeybA
Diffstat (limited to 'automake')
-rw-r--r--automake/automake-native_1.7.7.oe11
-rw-r--r--automake/automake_1.7.7.oe15
2 files changed, 26 insertions, 0 deletions
diff --git a/automake/automake-native_1.7.7.oe b/automake/automake-native_1.7.7.oe
index ae9329468d..1aff931571 100644
--- a/automake/automake-native_1.7.7.oe
+++ b/automake/automake-native_1.7.7.oe
@@ -2,3 +2,14 @@ include automake_${PV}.oe
S = ${WORKDIR}/automake-${PV}
inherit native
+
+do_stage () {
+ oe_runmake install
+ install -d ${datadir}
+ if [ ! -e ${datadir}/aclocal ]; then
+ ln -sf aclocal-1.7 ${datadir}/aclocal
+ fi
+ if [ ! -e ${datadir}/automake ]; then
+ ln -sf automake-1.7 ${datadir}/automake
+ fi
+}
diff --git a/automake/automake_1.7.7.oe b/automake/automake_1.7.7.oe
index e69de29bb2..49bb29ef09 100644
--- a/automake/automake_1.7.7.oe
+++ b/automake/automake_1.7.7.oe
@@ -0,0 +1,15 @@
+SRC_URI := ${GNU_MIRROR}/automake/automake-1.7.7.tar.bz2
+S := ${WORKDIR}/${P}
+
+inherit autotools
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+ install -d ${D}/${datadir}
+ if [ ! -e ${D}/${datadir}/aclocal ]; then
+ ln -sf aclocal-1.7 ${D}/${datadir}/aclocal
+ fi
+ if [ ! -e ${D}/${datadir}/automake ]; then
+ ln -sf automake-1.7 ${D}/${datadir}/automake
+ fi
+}