diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
| commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
| tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/jpeg/jpeg_6b.bb | |
| parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
| download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz | |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/jpeg/jpeg_6b.bb')
| -rw-r--r-- | meta/packages/jpeg/jpeg_6b.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/packages/jpeg/jpeg_6b.bb b/meta/packages/jpeg/jpeg_6b.bb new file mode 100644 index 0000000000..23e3ed82be --- /dev/null +++ b/meta/packages/jpeg/jpeg_6b.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | PR = "r2" | ||
| 2 | SECTION = "libs" | ||
| 3 | PRIORITY = "required" | ||
| 4 | MAINTAINER = "Chris Larson <kergoth@handhelds.org>" | ||
| 5 | DEPENDS = "libtool-cross" | ||
| 6 | DESCRIPTION = "libjpeg is a library for handling the JPEG (JFIF) image format." | ||
| 7 | PACKAGES =+ "jpeg-tools " | ||
| 8 | FILES_jpeg-tools = "${bindir}" | ||
| 9 | LICENSE ="jpeg" | ||
| 10 | SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \ | ||
| 11 | file://debian.patch;patch=1 \ | ||
| 12 | file://ldflags.patch;patch=1 \ | ||
| 13 | file://paths.patch;patch=1" | ||
| 14 | S = "${WORKDIR}/jpeg-${PV}" | ||
| 15 | |||
| 16 | inherit autotools | ||
| 17 | |||
| 18 | EXTRA_OECONF="--enable-static --enable-shared" | ||
| 19 | EXTRA_OEMAKE='"LIBTOOL=${STAGING_BINDIR}/${HOST_SYS}-libtool"' | ||
| 20 | |||
| 21 | CFLAGS_append = " -D_REENTRANT" | ||
| 22 | |||
| 23 | do_stage() { | ||
| 24 | install -m 644 jconfig.h ${STAGING_INCDIR}/jconfig.h | ||
| 25 | install -m 644 jpeglib.h ${STAGING_INCDIR}/jpeglib.h | ||
| 26 | install -m 644 jmorecfg.h ${STAGING_INCDIR}/jmorecfg.h | ||
| 27 | install -m 644 jerror.h ${STAGING_INCDIR}/jerror.h | ||
| 28 | install -m 644 jpegint.h ${STAGING_INCDIR}/jpegint.h | ||
| 29 | oe_libinstall -so libjpeg ${STAGING_LIBDIR} | ||
| 30 | } | ||
| 31 | |||
| 32 | do_install() { | ||
| 33 | install -d ${D}${bindir} ${D}${includedir} \ | ||
| 34 | ${D}${mandir}/man1 ${D}${libdir} | ||
| 35 | oe_runmake 'DESTDIR=${D}' install | ||
| 36 | } | ||
