wok-next view jpeg/receipt @ rev 5242
Up: gmp (4.3.2) Build dep for new gcc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 11 00:27:55 2010 +0200 (2010-04-11) |
parents | 8e5c96401d01 |
children | b0ae2959206e |
line source
1 # SliTaz package receipt.
3 PACKAGE="jpeg"
4 VERSION="6b"
5 CATEGORY="x-window"
6 SHORT_DESC="JPEG images libs."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.ijg.org/"
9 TARBALL="jpegsrc.v6b.tar.gz"
10 WGET_URL="http://www.ijg.org/files/$TARBALL"
11 TAGS="jpeg jpg"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --enable-shared --prefix=/usr \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib $fs/usr/bin
26 cp -a $src/.libs/*.so* $fs/usr/lib
27 cp $src/.libs/cjpeg $fs/usr/bin
28 cp $src/.libs/djpeg $fs/usr/bin
29 cp $src/.libs/jpegtran $fs/usr/bin
30 strip -s $fs/usr/*/*
31 }