[oe-commits] Fahad Usman : pngcrush_1.7.9: merged native and non-native recipes

git version control git at git.openembedded.org
Thu Sep 30 21:04:08 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: bf605db758fbdd0643d31ad596084b93817b7b7b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=bf605db758fbdd0643d31ad596084b93817b7b7b

Author: Fahad Usman <fahad_usman at mentor.com>
Date:   Wed Sep  1 23:57:57 2010 +0000

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 <fahad_usman at mentor.com>
Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/pngcrush/pngcrush-native_1.7.9.bb |    9 ---------
 recipes/pngcrush/pngcrush_1.7.9.bb        |    5 +++++
 2 files changed, 5 insertions(+), 9 deletions(-)

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 4e119a1..0000000
--- 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 fc284f2..a4a2273 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"





More information about the Openembedded-commits mailing list