diff options
Diffstat (limited to 'meta/recipes-core/jpeg/jpeg_8b.bb')
-rw-r--r-- | meta/recipes-core/jpeg/jpeg_8b.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-core/jpeg/jpeg_8b.bb b/meta/recipes-core/jpeg/jpeg_8b.bb new file mode 100644 index 0000000000..53847e715a --- /dev/null +++ b/meta/recipes-core/jpeg/jpeg_8b.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | DESCRIPTION = "libjpeg is a library for handling the JPEG (JFIF) image format." | ||
2 | HOMEPAGE = "http://www.ijg.org/" | ||
3 | BUGTRACKER = "" | ||
4 | |||
5 | LICENSE ="jpeg" | ||
6 | LIC_FILES_CHKSUM = "file://cdjpeg.h;endline=12;md5=78fa8dbac547bb5b2a0e6457a6cfe21d \ | ||
7 | file://jpeglib.h;endline=14;md5=dd06b5575519f735ec2565ed36ce62e7 \ | ||
8 | file://djpeg.c;endline=13;md5=ca89254925da06fef47e4b6468233432" | ||
9 | |||
10 | SECTION = "libs" | ||
11 | PRIORITY = "required" | ||
12 | |||
13 | DEPENDS = "libtool-cross" | ||
14 | DEPENDS_virtclass-native = "libtool-native" | ||
15 | |||
16 | PR = "r0" | ||
17 | |||
18 | SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \ | ||
19 | file://debian-libjpeg7_7-1.diff;patch=1" | ||
20 | |||
21 | inherit autotools | ||
22 | |||
23 | EXTRA_OECONF="--enable-static --enable-shared" | ||
24 | EXTRA_OEMAKE='"LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"' | ||
25 | |||
26 | CFLAGS_append = " -D_REENTRANT" | ||
27 | |||
28 | do_configure_prepend () { | ||
29 | rm -f ${S}/ltconfig | ||
30 | rm -f ${S}/ltmain.sh | ||
31 | } | ||
32 | |||
33 | do_install() { | ||
34 | install -d ${D}${bindir} ${D}${includedir} \ | ||
35 | ${D}${mandir}/man1 ${D}${libdir} | ||
36 | oe_runmake 'DESTDIR=${D}' install | ||
37 | } | ||
38 | |||
39 | PACKAGES =+ "jpeg-tools " | ||
40 | FILES_jpeg-tools = "${bindir}/*" | ||
41 | |||
42 | BBCLASSEXTEND = "native" | ||