From: Fahad Usman Date: Wed, 1 Sep 2010 23:57:57 +0000 (+0000) Subject: pngcrush_1.7.9: merged native and non-native recipes X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf605db758fbdd0643d31ad596084b93817b7b7b;p=openembedded.git pngcrush_1.7.9: merged native and non-native recipes * removed the pngcrush-native_1.7.9.bb file * added NATIVE_INSTALL_WORKS = "1" * added BBCLASSEXTEND = "native" * added PR = "r1" Signed-off-by: Fahad Usman Signed-off-by: Tom Rini --- diff --git a/recipes/pngcrush/pngcrush-native_1.7.9.bb b/recipes/pngcrush/pngcrush-native_1.7.9.bb deleted file mode 100644 index 4e119a167b..0000000000 --- a/recipes/pngcrush/pngcrush-native_1.7.9.bb +++ /dev/null @@ -1,9 +0,0 @@ -require pngcrush_${PV}.bb - -inherit native - -S = "${WORKDIR}/pngcrush-${PV}" - -do_stage() { - install -m 755 ${S}/pngcrush ${STAGING_BINDIR}/ -} diff --git a/recipes/pngcrush/pngcrush_1.7.9.bb b/recipes/pngcrush/pngcrush_1.7.9.bb index fc284f23d4..a4a2273fee 100644 --- a/recipes/pngcrush/pngcrush_1.7.9.bb +++ b/recipes/pngcrush/pngcrush_1.7.9.bb @@ -1,6 +1,7 @@ DESCRIPTION = "Tool to optimize PNG images" SECTION = "console/graphics" HOMEPAGE = "http://pmt.sourceforge.net/pngcrush" +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/pmt/pngcrush-${PV}.tar.gz;name=src" @@ -16,3 +17,7 @@ do_install () { install -d ${D}${bindir} install -m 755 ${BPN} ${D}${bindir} } + +BBCLASSEXTEND = "native" + +NATIVE_INSTALL_WORKS = "1"