2010-09-27 14:44:05 +00:00
SUMMARY = " libjpeg is a library for handling the JPEG (JFIF) image format. "
DESCRIPTION = " libjpeg contains a library for handling the JPEG (JFIF) image format, as well as related programs for accessing the libjpeg functions. "
2010-07-01 09:50:37 +00:00
HOMEPAGE = " http://www.ijg.org/ "
BUGTRACKER = " "
2006-11-21 12:15:23 +00:00
LICENSE = " jpeg "
2010-07-15 05:34:26 +00:00
LIC_FILES_CHKSUM = " file://cdjpeg.h;endline=12;md5=78fa8dbac547bb5b2a0e6457a6cfe21d \
file : / / jpeglib . h ;endline=14;md5=dd06b5575519f735ec2565ed36ce62e7 \
file : / / djpeg . c ;endline=13;md5=ca89254925da06fef47e4b6468233432"
2010-07-01 09:50:37 +00:00
2005-08-31 10:45:47 +00:00
SECTION = " libs "
PRIORITY = " required "
2006-11-21 12:15:23 +00:00
2009-12-22 15:31:14 +00:00
DEPENDS = " libtool-cross "
DEPENDS_virtclass - native = " libtool-native "
2006-11-21 12:15:23 +00:00
2010-07-15 05:34:26 +00:00
PR = " r0 "
2006-11-21 12:15:23 +00:00
2005-08-31 10:45:47 +00:00
SRC_URI = " http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
2010-07-15 05:34:26 +00:00
file : / / debian - libjpeg7_7 - 1. diff ;patch=1"
2005-08-31 10:45:47 +00:00
inherit autotools
EXTRA_OECONF = " --enable-static --enable-shared "
2009-11-25 14:39:19 +00:00
EXTRA_OEMAKE = ' " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool " '
2005-08-31 10:45:47 +00:00
CFLAGS_append = " -D_REENTRANT "
2008-05-07 15:00:30 +00:00
do_configure_prepend ( ) {
rm - f $ { S } / ltconfig
rm - f $ { S } / ltmain . sh
}
2005-08-31 10:45:47 +00:00
do_install ( ) {
install - d $ { D } $ { bindir } $ { D } $ { includedir } \
$ { D } $ { mandir } / man1 $ { D } $ { libdir }
oe_runmake ' DESTDIR = $ { D } ' install
}
2006-11-21 12:15:23 +00:00
PACKAGES = + " jpeg-tools "
2010-09-27 14:44:05 +00:00
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. "
2006-11-21 12:15:23 +00:00
FILES_jpeg - tools = " ${bindir}/* "
2009-11-05 17:10:56 +00:00
BBCLASSEXTEND = " native "