Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "libjpeg is a library for handling the JPEG (JFIF) image format" |
| 2 | DESCRIPTION = "libjpeg contains a library for handling the JPEG (JFIF) image format, as well as related programs for accessing the libjpeg functions." |
| 3 | HOMEPAGE = "http://www.ijg.org/" |
| 4 | |
| 5 | LICENSE ="BSD-3-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://README;md5=ea93a8a2fed10106b63bc21679edacb9" |
| 7 | |
| 8 | SECTION = "libs" |
| 9 | |
| 10 | SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \ |
| 11 | " |
| 12 | |
| 13 | SRC_URI[md5sum] = "3353992aecaee1805ef4109aadd433e7" |
| 14 | SRC_URI[sha256sum] = "3a753ea48d917945dd54a2d97de388aa06ca2eb1066cbfdc6652036349fe05a7" |
| 15 | |
| 16 | inherit autotools |
| 17 | |
| 18 | PACKAGES =+ "jpeg-tools " |
| 19 | 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." |
| 20 | FILES_jpeg-tools = "${bindir}/*" |
| 21 | |
| 22 | BBCLASSEXTEND = "native" |
| 23 | |
| 24 | pkg_postinst_${PN}_linuxstdbase () { |
| 25 | if [ ! -e $D${libdir}/libjpeg.so.62 ]; then |
| 26 | JPEG=`find $D${libdir} -type f -name libjpeg.so.\*.\*.\*` |
| 27 | ln -sf `basename $JPEG` $D${libdir}/libjpeg.so.62 |
| 28 | fi |
| 29 | } |