diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-05-07 15:00:30 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-05-07 15:00:30 +0000 |
| commit | 44152596bab3f875057f48dbc238603aaae4df1d (patch) | |
| tree | 0a03293c5e118d54613115e4735c1d830898d030 /meta/packages/jpeg/jpeg_6b.bb | |
| parent | 1b969af1b947a0c216cf17bba73fe7d07c411c98 (diff) | |
| download | poky-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.bb | 10 |
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 | ||
| 6 | DEPENDS = "libtool-cross" | 6 | DEPENDS = "libtool-cross" |
| 7 | 7 | ||
| 8 | PR = "r5" | 8 | PR = "r6" |
| 9 | 9 | ||
| 10 | SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \ | 10 | SRC_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" | ||
| 14 | S = "${WORKDIR}/jpeg-${PV}" | 15 | S = "${WORKDIR}/jpeg-${PV}" |
| 15 | 16 | ||
| 16 | inherit autotools | 17 | inherit autotools |
| @@ -20,6 +21,11 @@ EXTRA_OEMAKE='"LIBTOOL=${STAGING_BINDIR_NATIVE}/${HOST_SYS}-libtool"' | |||
| 20 | 21 | ||
| 21 | CFLAGS_append = " -D_REENTRANT" | 22 | CFLAGS_append = " -D_REENTRANT" |
| 22 | 23 | ||
| 24 | do_configure_prepend () { | ||
| 25 | rm -f ${S}/ltconfig | ||
| 26 | rm -f ${S}/ltmain.sh | ||
| 27 | } | ||
| 28 | |||
| 23 | do_stage() { | 29 | do_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 |
