aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/pngcrush
diff options
context:
space:
mode:
authorFahad Usman <fahad_usman@mentor.com>2010-09-01 23:57:57 +0000
committerTom Rini <tom_rini@mentor.com>2010-09-30 14:03:09 -0700
commitbf605db758fbdd0643d31ad596084b93817b7b7b (patch)
treeac2dfe0c1e14f8a19d6b8b335b1096cccd5cd626 /recipes/pngcrush
parent771a89b33df37a3bee3708f21e8146cbbc88b829 (diff)
downloadopenembedded-bf605db758fbdd0643d31ad596084b93817b7b7b.tar.gz
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@mentor.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/pngcrush')
-rw-r--r--recipes/pngcrush/pngcrush-native_1.7.9.bb9
-rw-r--r--recipes/pngcrush/pngcrush_1.7.9.bb5
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 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"