pngcrush_1.7.9: merged native and non-native recipes
authorFahad Usman <fahad_usman@mentor.com>
Wed, 1 Sep 2010 23:57:57 +0000 (23:57 +0000)
committerTom Rini <tom_rini@mentor.com>
Thu, 30 Sep 2010 21:03:09 +0000 (14:03 -0700)
* 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 <fahad_usman@mentor.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/pngcrush/pngcrush-native_1.7.9.bb [deleted file]
recipes/pngcrush/pngcrush_1.7.9.bb

diff --git a/recipes/pngcrush/pngcrush-native_1.7.9.bb b/recipes/pngcrush/pngcrush-native_1.7.9.bb
deleted file mode 100644 (file)
index 4e119a1..0000000
+++ /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}/
-}
index fc284f2..a4a2273 100644 (file)
@@ -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"