SECTION = "libs"
PRIORITY = "required"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
-DEPENDS = "virtual/libc"
+DEPENDS = "virtual/libc libtool-cross"
DESCRIPTION = "libjpeg is a library for handling the JPEG (JFIF) image format."
PACKAGES =+ "jpeg-tools "
FILES_jpeg-tools = "${bindir}"
inherit autotools
EXTRA_OECONF="--enable-static --enable-shared"
+EXTRA_OEMAKE='"LIBTOOL=${STAGING_BINDIR}/${TARGET_PREFIX}libtool"'
CFLAGS_append = " -D_REENTRANT"
-# This doesn't seem to exist, we need it to for our libtool.oeclass
-# to work properly, ensure that it does exist.
-do_configure_prepend() {
- touch ${S}/libtool
-}
-
do_stage() {
install -m 644 jconfig.h ${STAGING_INCDIR}/jconfig.h
install -m 644 jpeglib.h ${STAGING_INCDIR}/jpeglib.h