create aclocal/automake symlinks in share if necessary.
authorChris Larson <clarson@kergoth.com>
Mon, 27 Oct 2003 21:54:43 +0000 (21:54 +0000)
committerChris Larson <clarson@kergoth.com>
Mon, 27 Oct 2003 21:54:43 +0000 (21:54 +0000)
BKrev: 3f9d9423CQriuIFBKZ6c-is5-yeybA

automake/automake-native_1.7.7.oe
automake/automake_1.7.7.oe

index ae93294..1aff931 100644 (file)
@@ -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
+}
index e69de29..49bb29e 100644 (file)
@@ -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
+}