[oe-commits] : zlib: simplfy the recipes

OE GIT Trial gittrial at amethyst.openembedded.net
Tue Sep 23 21:23:56 UTC 2008


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

Author:  <woglinde2 at openembedded.org>
Date:   Tue Sep 23 20:08:00 2008 +0000

zlib: simplfy the recipes
* use autotools_stage_all
* bump PR

---

 packages/zlib/zlib-native_1.2.3.bb |   11 ++---------
 packages/zlib/zlib_1.2.3.bb        |   17 +++--------------
 2 files changed, 5 insertions(+), 23 deletions(-)

diff --git a/packages/zlib/zlib-native_1.2.3.bb b/packages/zlib/zlib-native_1.2.3.bb
index 246bf28..d7e0777 100644
--- a/packages/zlib/zlib-native_1.2.3.bb
+++ b/packages/zlib/zlib-native_1.2.3.bb
@@ -1,12 +1,5 @@
 require zlib_${PV}.bb
 ZLIB_EXTRA = ""
-inherit native
-
-do_stage() {
-        install -m 0644 zlib.h ${STAGING_INCDIR}/zlib.h
-        install -m 0644 zconf.h ${STAGING_INCDIR}/zconf.h
-        oe_libinstall -a -so libz ${STAGING_LIBDIR}
-}
-
-
 DEPENDS = "libtool-native"
+
+inherit native
diff --git a/packages/zlib/zlib_1.2.3.bb b/packages/zlib/zlib_1.2.3.bb
index 1f96816..d4efeb0 100644
--- a/packages/zlib/zlib_1.2.3.bb
+++ b/packages/zlib/zlib_1.2.3.bb
@@ -3,7 +3,7 @@ SECTION = "libs"
 PRIORITY = "required"
 HOMEPAGE = "http://www.gzip.org/zlib/"
 LICENSE = "zlib"
-PR="r4"
+PR="r5"
 
 SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \
 		file://visibility.patch;patch=1 \
@@ -13,19 +13,8 @@ S = "${WORKDIR}/zlib-${PV}"
 
 DEPENDS = "libtool-cross"
 
-inherit autotools pkgconfig
+inherit autotools
 
 do_stage() {
-	install -m 0644 zlib.h ${STAGING_INCDIR}/zlib.h
-	install -m 0644 zconf.h ${STAGING_INCDIR}/zconf.h
-	oe_libinstall -a -so libz ${STAGING_LIBDIR}
-}
-
-do_install() {
-	install -d ${D}${prefix} ${D}${includedir} ${D}${libdir}
-	oe_runmake "prefix=${D}${prefix}" \
-		   "exec_prefix=${D}${exec_prefix}" \
-		   "man3dir=${D}${mandir}/man3" \
-		   "includedir=${D}${includedir}" \
-		   "libdir=${D}${libdir}" install
+	autotools_stage_all
 }





More information about the Openembedded-commits mailing list