diff options
author | Zhai Edwin <edwin.zhai@intel.com> | 2011-04-14 14:10:31 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-24 22:50:01 +0100 |
commit | 679a4b2639a9ef6e70a803f4b12a57de8ee5184b (patch) | |
tree | f59fc47ee4586c9e6745038d6b75b3397a5fa7d7 /meta/recipes-core/jpeg/jpeg_8b.bb | |
parent | fbca2e9e5c780e94916957d9a7928ba372c8300c (diff) | |
download | poky-679a4b2639a9ef6e70a803f4b12a57de8ee5184b.tar.gz |
jpeg: Upgrade to 8c (from 8b)
(From OE-Core rev: 5f17c96c196db21e7590ef3ed530e1a6a22acb06)
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/jpeg/jpeg_8b.bb')
-rw-r--r-- | meta/recipes-core/jpeg/jpeg_8b.bb | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/meta/recipes-core/jpeg/jpeg_8b.bb b/meta/recipes-core/jpeg/jpeg_8b.bb deleted file mode 100644 index 93aa7be678..0000000000 --- a/meta/recipes-core/jpeg/jpeg_8b.bb +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | SUMMARY = "libjpeg is a library for handling the JPEG (JFIF) image format." | ||
2 | DESCRIPTION = "libjpeg contains a library for handling the JPEG (JFIF) image format, as well as related programs for accessing the libjpeg functions." | ||
3 | HOMEPAGE = "http://www.ijg.org/" | ||
4 | BUGTRACKER = "" | ||
5 | |||
6 | LICENSE ="jpeg" | ||
7 | LIC_FILES_CHKSUM = "file://cdjpeg.h;endline=12;md5=78fa8dbac547bb5b2a0e6457a6cfe21d \ | ||
8 | file://jpeglib.h;endline=14;md5=dd06b5575519f735ec2565ed36ce62e7 \ | ||
9 | file://djpeg.c;endline=13;md5=ca89254925da06fef47e4b6468233432" | ||
10 | |||
11 | SECTION = "libs" | ||
12 | PRIORITY = "required" | ||
13 | |||
14 | DEPENDS = "libtool-cross" | ||
15 | DEPENDS_virtclass-native = "libtool-native" | ||
16 | |||
17 | PR = "r1" | ||
18 | |||
19 | SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \ | ||
20 | file://debian-libjpeg7_7-1.diff;patch=1" | ||
21 | |||
22 | SRC_URI[md5sum] = "e022acbc5b36cd2cb70785f5b575661e" | ||
23 | SRC_URI[sha256sum] = "36e6208edec591bae8f2fc370ea4f991447badb6377a125c211ffa7b503174a7" | ||
24 | |||
25 | inherit autotools | ||
26 | |||
27 | EXTRA_OECONF="--enable-static --enable-shared" | ||
28 | EXTRA_OEMAKE='"LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"' | ||
29 | |||
30 | CFLAGS_append = " -D_REENTRANT" | ||
31 | |||
32 | do_configure_prepend () { | ||
33 | rm -f ${S}/ltconfig | ||
34 | rm -f ${S}/ltmain.sh | ||
35 | } | ||
36 | |||
37 | do_install() { | ||
38 | install -d ${D}${bindir} ${D}${includedir} \ | ||
39 | ${D}${mandir}/man1 ${D}${libdir} | ||
40 | oe_runmake 'DESTDIR=${D}' install | ||
41 | } | ||
42 | |||
43 | PACKAGES =+ "jpeg-tools " | ||
44 | DESCRIPTION_jpeg-tools = "The jpeg-tools package includes the client programs for access libjpeg functionality. These tools allow for the compression, decompression, transformation and display of JPEG files." | ||
45 | FILES_jpeg-tools = "${bindir}/*" | ||
46 | |||
47 | BBCLASSEXTEND = "native" | ||
48 | |||
49 | pkg_postinst_${PN}_linuxstdbase () { | ||
50 | if [ "$D" = "" ]; then | ||
51 | if [ ! -e ${libdir}/libjpeg.so.62 ]; then | ||
52 | JPEG=`find ${libdir} -type f -name libjpeg.so.\*.\*.\*` | ||
53 | ln -sf `basename $JPEG` ${libdir}/libjpeg.so.62 | ||
54 | fi | ||
55 | else | ||
56 | exit 1 | ||
57 | fi | ||
58 | } | ||