diff options
author | Rene Wagner <rw@handhelds.org> | 2006-01-05 19:51:50 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-05 19:51:50 +0000 |
commit | 34be346c9f3eb14b61f7fcdbe80b1b45862d5852 (patch) | |
tree | 3c6497f0668a1147be927f1b2f48adfe91c10f1c /packages | |
parent | faa940833f7112f6ace5e122d59ddff2529fc0c2 (diff) |
jpeg: revert deletion of do_stage() applied in 7170376c9b53df050cf818ffca4ea499b8aea5b9
Diffstat (limited to 'packages')
-rw-r--r-- | packages/jpeg/jpeg-native_6b.bb | 7 | ||||
-rw-r--r-- | packages/jpeg/jpeg_6b.bb | 18 |
2 files changed, 20 insertions, 5 deletions
diff --git a/packages/jpeg/jpeg-native_6b.bb b/packages/jpeg/jpeg-native_6b.bb index 420cc9fd4b..b617f1b6c0 100644 --- a/packages/jpeg/jpeg-native_6b.bb +++ b/packages/jpeg/jpeg-native_6b.bb @@ -5,5 +5,10 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/jpeg-${PV}" DEPENDS = "" do_stage() { - autotools_stage_all + 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/packages/jpeg/jpeg_6b.bb b/packages/jpeg/jpeg_6b.bb index 277cdfa48c..23e3ed82be 100644 --- a/packages/jpeg/jpeg_6b.bb +++ b/packages/jpeg/jpeg_6b.bb @@ -1,4 +1,4 @@ -PR = "r1" +PR = "r2" SECTION = "libs" PRIORITY = "required" MAINTAINER = "Chris Larson <kergoth@handhelds.org>" @@ -10,8 +10,7 @@ LICENSE ="jpeg" SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \ file://debian.patch;patch=1 \ file://ldflags.patch;patch=1 \ - file://paths.patch;patch=1 \ - file://install.patch;patch=1" + file://paths.patch;patch=1" S = "${WORKDIR}/jpeg-${PV}" inherit autotools @@ -22,5 +21,16 @@ EXTRA_OEMAKE='"LIBTOOL=${STAGING_BINDIR}/${HOST_SYS}-libtool"' CFLAGS_append = " -D_REENTRANT" do_stage() { - autotools_stage_all + 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} + oe_runmake 'DESTDIR=${D}' install } |