aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/jpeg/jpeg_9a.bb
blob: ea2e65d61a2781a18f5ad995109689dbb1cb4e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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."
HOMEPAGE = "http://www.ijg.org/"

LICENSE ="BSD-3-Clause"
LIC_FILES_CHKSUM = "file://README;md5=ea93a8a2fed10106b63bc21679edacb9"

SECTION = "libs"

SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
	  "

SRC_URI[md5sum] = "3353992aecaee1805ef4109aadd433e7"
SRC_URI[sha256sum] = "3a753ea48d917945dd54a2d97de388aa06ca2eb1066cbfdc6652036349fe05a7"

inherit autotools

PACKAGES =+ 		"jpeg-tools "
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."
FILES_jpeg-tools = 	"${bindir}/*"

BBCLASSEXTEND = "native"

pkg_postinst_${PN}_linuxstdbase () {
    if [ ! -e $D${libdir}/libjpeg.so.62 ]; then
        JPEG=`find $D${libdir} -type f -name libjpeg.so.\*.\*.\*`
        ln -sf `basename $JPEG` $D${libdir}/libjpeg.so.62
    fi
}