wok-next view jpeg/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 31b0fa204936 |
children | c4e53a39395a |
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="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.ijg.org/"
10 TARBALL="jpegsrc.v${VERSION}.tar.gz"
11 WGET_URL="http://www.ijg.org/files/$TARBALL"
12 TAGS="jpeg jpg"
13 HOST_ARCH="i486 arm"
15 SPLIT="jpeg jpeg-dev libjpeg"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --enable-shared \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 jpeg)
34 DEPENDS="libjpeg"
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 # In libjpeg package
38 #cp -a $install/usr/lib/*.so* $fs/usr/lib
39 ;;
40 jpeg-dev)
41 CAT="development|JPEG images libs."
42 DEPENDS="jpeg libjpeg"
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.*a $fs/usr/lib
45 cp -a $install/usr/include $fs/usr
46 cp -a $src/jpegint.h $fs/usr/include
47 ;;
48 libjpeg)
49 CAT="x-window|JPEG image libs."
50 TAGS="jpeg jpg"
51 mkdir -p $fs/usr/lib
52 cp -a $install/usr/lib/*.so* $fs/usr/lib
53 ;;
54 esac
55 }