diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-05 17:10:56 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:25 +0000 |
commit | 1d82f91348ad9e0bb98477c8c90ca99995b5a41d (patch) | |
tree | d4d869b8eabf2b38e9e7704c05a7f6dac86223f4 /meta/packages | |
parent | 65d097ca22f62b48ac43f0233887154352ee4659 (diff) | |
download | openembedded-core-1d82f91348ad9e0bb98477c8c90ca99995b5a41d.tar.gz openembedded-core-1d82f91348ad9e0bb98477c8c90ca99995b5a41d.tar.bz2 openembedded-core-1d82f91348ad9e0bb98477c8c90ca99995b5a41d.tar.xz openembedded-core-1d82f91348ad9e0bb98477c8c90ca99995b5a41d.zip |
jpeg: Convert to BBCLASSEXTEND (and drop unneeded custom staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/jpeg/jpeg-native_6b.bb | 13 | ||||
-rw-r--r-- | meta/packages/jpeg/jpeg_6b.bb | 14 |
2 files changed, 3 insertions, 24 deletions
diff --git a/meta/packages/jpeg/jpeg-native_6b.bb b/meta/packages/jpeg/jpeg-native_6b.bb deleted file mode 100644 index 2591a7ab1..000000000 --- a/meta/packages/jpeg/jpeg-native_6b.bb +++ /dev/null @@ -1,13 +0,0 @@ -SECTION = "libs" -require jpeg_${PV}.bb -inherit native -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/meta/packages/jpeg/jpeg_6b.bb b/meta/packages/jpeg/jpeg_6b.bb index d64fb0996..ea05c6d34 100644 --- a/meta/packages/jpeg/jpeg_6b.bb +++ b/meta/packages/jpeg/jpeg_6b.bb @@ -4,8 +4,9 @@ SECTION = "libs" PRIORITY = "required" DEPENDS = "libtool-cross" +DEPENDS_virtclass-native = "libtool-native" -PR = "r6" +PR = "r7" SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \ file://debian.patch;patch=1 \ @@ -25,15 +26,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} @@ -43,4 +35,4 @@ do_install() { PACKAGES =+ "jpeg-tools " FILES_jpeg-tools = "${bindir}/*" - +BBCLASSEXTEND = "native" |