[oe-commits] Koen Kooi : lzo: convert to new style staging and use BBCLASSEXTEND for -native

git version control git at git.openembedded.org
Sun Mar 28 17:27:18 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: ab33236cff6f5520c9e6c277984100bb4fc79eb1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ab33236cff6f5520c9e6c277984100bb4fc79eb1

Author: Koen Kooi <koen at openembedded.org>
Date:   Sun Mar 28 12:05:41 2010 +0200

lzo: convert to new style staging and use BBCLASSEXTEND for -native

---

 recipes/lzo/lzo-native_1.08.bb |    3 ---
 recipes/lzo/lzo_1.08.bb        |   27 +++------------------------
 2 files changed, 3 insertions(+), 27 deletions(-)

diff --git a/recipes/lzo/lzo-native_1.08.bb b/recipes/lzo/lzo-native_1.08.bb
deleted file mode 100644
index 3de88e3..0000000
--- a/recipes/lzo/lzo-native_1.08.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require lzo_${PV}.bb
-inherit native
-S = "${WORKDIR}/lzo-${PV}"
\ No newline at end of file
diff --git a/recipes/lzo/lzo_1.08.bb b/recipes/lzo/lzo_1.08.bb
index a01912d..6890a19 100644
--- a/recipes/lzo/lzo_1.08.bb
+++ b/recipes/lzo/lzo_1.08.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/"
 LICENSE = "GPLv2"
 SECTION = "libs"
 PRIORITY = "optional"
-PR = "r14"
+PR = "r15"
 
 SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz"
 
@@ -11,26 +11,5 @@ inherit autotools
 
 EXTRA_OECONF = "--enable-shared"
 
-#do_configure () {
-#	# override this function to avoid the autoconf/automake/aclocal/autoheader
-#	# calls for now
-#	gnu-configize
-#	oe_runconf
-#}
-
-do_stage() {
-	install -m 0644 include/lzo1.h ${STAGING_INCDIR}/lzo1.h
-	install -m 0644 include/lzo16bit.h ${STAGING_INCDIR}/lzo16bit.h
-	install -m 0644 include/lzo1a.h ${STAGING_INCDIR}/lzo1a.h
-	install -m 0644 include/lzo1b.h ${STAGING_INCDIR}/lzo1b.h
-	install -m 0644 include/lzo1c.h ${STAGING_INCDIR}/lzo1c.h
-	install -m 0644 include/lzo1f.h ${STAGING_INCDIR}/lzo1f.h
-	install -m 0644 include/lzo1x.h ${STAGING_INCDIR}/lzo1x.h
-	install -m 0644 include/lzo1y.h ${STAGING_INCDIR}/lzo1y.h
-	install -m 0644 include/lzo1z.h ${STAGING_INCDIR}/lzo1z.h
-	install -m 0644 include/lzo2a.h ${STAGING_INCDIR}/lzo2a.h
-	install -m 0644 include/lzoconf.h ${STAGING_INCDIR}/lzoconf.h
-	install -m 0644 include/lzoutil.h ${STAGING_INCDIR}/lzoutil.h
-
-        oe_libinstall -a -so -C src liblzo ${STAGING_LIBDIR}
-}
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND = "native"





More information about the Openembedded-commits mailing list