automake-1.10: fix do_install
authorHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 27 May 2008 21:21:55 +0000 (21:21 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 27 May 2008 21:21:55 +0000 (21:21 +0000)
- fix do_install 1.9 vs 1.10 linking
- put DEFAULT_PREFERENCE = "-1" up, so we see without scrolling why
  the recipe is not build

packages/automake/automake_1.10.bb

index eef69f4..79fa7fd 100644 (file)
@@ -2,6 +2,7 @@ DESCRIPTION = "A tool for automatically generating Makefiles."
 LICENSE = "GPL"
 HOMEPAGE = "http://www.gnu.org/software/automake/"
 SECTION = "devel"
+DEFAULT_PREFERENCE = "-1"
 
 SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2 \
        ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}"
@@ -21,11 +22,9 @@ 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
+               ln -sf aclocal-1.10 ${D}${datadir}/aclocal
        fi
        if [ ! -e ${D}${datadir}/automake ]; then
-               ln -sf automake-1.9 ${D}${datadir}/automake
+               ln -sf automake-1.10 ${D}${datadir}/automake
        fi
 }
-
-DEFAULT_PREFERENCE = "-1"