wok-next view jpeg/receipt @ rev 20474

Tiny edits... (again)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 10 17:39:42 2018 +0200 (2018-03-10)
parents c78b38baa3f0
children e545e47edffa
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"
14 SPLIT="jpeg jpeg-dev libjpeg"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --enable-shared \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 jpeg)
33 DEPENDS="libjpeg"
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 # In libjpeg package
37 #cp -a $install/usr/lib/*.so* $fs/usr/lib
38 ;;
39 jpeg-dev)
40 CAT="development|JPEG images libs."
41 DEPENDS="jpeg libjpeg"
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.*a $fs/usr/lib
44 cp -a $install/usr/include $fs/usr
45 cp -a $src/jpegint.h $fs/usr/include
46 ;;
47 libjpeg)
48 CAT="x-window|JPEG image libs."
49 TAGS="jpeg jpg"
50 mkdir -p $fs/usr/lib
51 cp -a $install/usr/lib/*.so* $fs/usr/lib
52 ;;
53 esac
54 }