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

git version control git at git.openembedded.org
Sun Mar 28 10:28:36 UTC 2010


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

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

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

---

 recipes/jpeg/jpeg-native_6b.bb |   14 --------------
 recipes/jpeg/jpeg_6b.bb        |   14 +++-----------
 2 files changed, 3 insertions(+), 25 deletions(-)

diff --git a/recipes/jpeg/jpeg-native_6b.bb b/recipes/jpeg/jpeg-native_6b.bb
deleted file mode 100644
index 450e4b3..0000000
--- a/recipes/jpeg/jpeg-native_6b.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-SECTION = "libs"
-require jpeg_${PV}.bb
-inherit native
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/jpeg-${PV}"
-DEPENDS = ""
-
-do_stage() {
-        install -m 644 jconfig.h ${STAGING_INCDIR}/jconfig.h
-        install -m 644 jpeglib.h ${STAGING_INCDIR}/jpeglib.h
-        install -m 644 jmorecfg.h ${STAGING_INCDIR}/jmorecfg.h
-        install -m 644 jerror.h ${STAGING_INCDIR}/jerror.h
-        install -m 644 jpegint.h ${STAGING_INCDIR}/jpegint.h
-        oe_libinstall -so libjpeg ${STAGING_LIBDIR}
-}
diff --git a/recipes/jpeg/jpeg_6b.bb b/recipes/jpeg/jpeg_6b.bb
index fde5272..d676ef8 100644
--- a/recipes/jpeg/jpeg_6b.bb
+++ b/recipes/jpeg/jpeg_6b.bb
@@ -6,7 +6,7 @@ PRIORITY = "required"
 DEPENDS = "libtool-cross"
 RPROVIDES_${PN} = "jpeg"
 
-PR = "r8"
+PR = "r9"
 
 #SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
 SRC_URI = "ftp://aeneas.mit.edu/pub/gnu/ghostscript/jpegsrc.v${PV}.tar.gz \
@@ -28,15 +28,6 @@ do_configure_prepend () {
 	rm -f ${S}/ltmain.sh
 }
 
-do_stage() {
-	install -m 644 jconfig.h ${STAGING_INCDIR}/jconfig.h
-	install -m 644 jpeglib.h ${STAGING_INCDIR}/jpeglib.h
-	install -m 644 jmorecfg.h ${STAGING_INCDIR}/jmorecfg.h
-	install -m 644 jerror.h ${STAGING_INCDIR}/jerror.h
-	install -m 644 jpegint.h ${STAGING_INCDIR}/jpegint.h
-	oe_libinstall -so libjpeg ${STAGING_LIBDIR}
-}
-
 do_install() {
 	install -d ${D}${bindir} ${D}${includedir} \
 		   ${D}${mandir}/man1 ${D}${libdir}
@@ -46,4 +37,5 @@ do_install() {
 PACKAGES =+ 		"jpeg-tools "
 FILES_jpeg-tools = 	"${bindir}/*"
 
-
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND = "native"





More information about the Openembedded-commits mailing list