wok-next view jpeg/receipt @ rev 21288
update: expat 2.2.6 (2018) -> 2.2.9 (security fixes: CVE-2019-15903, CVE-2018-20843; ...)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 08 11:14:03 2019 +0000 (2019-12-08) |
parents | 0ec6086e21d6 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="jpeg"
4 VERSION="9b"
5 CATEGORY="x-window"
6 SHORT_DESC="JPEG image programs"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.ijg.org/"
11 TARBALL="jpegsrc.v$VERSION.tar.gz"
12 WGET_URL="http://www.ijg.org/files/$TARBALL"
14 SPLIT="libjpeg $PACKAGE $PACKAGE-dev"
16 compile_rules() {
17 ./configure \
18 --enable-shared \
19 $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make DESTDIR=$install install || return 1
24 install -Dm644 $src/jpegint.h $install/usr/include/jpegint.h
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libjpeg)
30 copy *.so*
31 CAT="x-window|library"
32 ;;
33 jpeg)
34 copy @std @rm
35 DEPENDS="libjpeg"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 TAGS="jpeg jpg"
42 }