summaryrefslogtreecommitdiffstats
path: root/meta/packages/jpeg/jpeg_6b.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-05-07 15:00:30 +0000
committerRichard Purdie <richard@openedhand.com>2008-05-07 15:00:30 +0000
commit44152596bab3f875057f48dbc238603aaae4df1d (patch)
tree0a03293c5e118d54613115e4735c1d830898d030 /meta/packages/jpeg/jpeg_6b.bb
parent1b969af1b947a0c216cf17bba73fe7d07c411c98 (diff)
downloadpoky-44152596bab3f875057f48dbc238603aaae4df1d.tar.gz
jpeg: Rip out debian libtool hacks and use libtool-cross from staging. Also set tag mode to avoid issues with modern libtool
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4451 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/jpeg/jpeg_6b.bb')
-rw-r--r--meta/packages/jpeg/jpeg_6b.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/packages/jpeg/jpeg_6b.bb b/meta/packages/jpeg/jpeg_6b.bb
index 978ae10be5..b930870bc6 100644
--- a/meta/packages/jpeg/jpeg_6b.bb
+++ b/meta/packages/jpeg/jpeg_6b.bb
@@ -5,12 +5,13 @@ PRIORITY = "required"
5 5
6DEPENDS = "libtool-cross" 6DEPENDS = "libtool-cross"
7 7
8PR = "r5" 8PR = "r6"
9 9
10SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \ 10SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
11 file://debian.patch;patch=1 \ 11 file://debian.patch;patch=1 \
12 file://ldflags.patch;patch=1 \ 12 file://ldflags.patch;patch=1 \
13 file://paths.patch;patch=1" 13 file://paths.patch;patch=1 \
14 file://libtool_tweak.patch;patch=1"
14S = "${WORKDIR}/jpeg-${PV}" 15S = "${WORKDIR}/jpeg-${PV}"
15 16
16inherit autotools 17inherit autotools
@@ -20,6 +21,11 @@ EXTRA_OEMAKE='"LIBTOOL=${STAGING_BINDIR_NATIVE}/${HOST_SYS}-libtool"'
20 21
21CFLAGS_append = " -D_REENTRANT" 22CFLAGS_append = " -D_REENTRANT"
22 23
24do_configure_prepend () {
25 rm -f ${S}/ltconfig
26 rm -f ${S}/ltmain.sh
27}
28
23do_stage() { 29do_stage() {
24 install -m 644 jconfig.h ${STAGING_INCDIR}/jconfig.h 30 install -m 644 jconfig.h ${STAGING_INCDIR}/jconfig.h
25 install -m 644 jpeglib.h ${STAGING_INCDIR}/jpeglib.h 31 install -m 644 jpeglib.h ${STAGING_INCDIR}/jpeglib.h