wok-6.x view jpeg/receipt @ rev 4518
Up Cups, cups-dev,php-cups; Improve compile options
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Nov 26 12:12:54 2009 +0000 (2009-11-26) |
parents | |
children | 4466fa74bc06 |
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --enable-shared --prefix=/usr \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib $fs/usr/bin
25 cp -a $src/.libs/*.so* $fs/usr/lib
26 cp $src/.libs/cjpeg $fs/usr/bin
27 cp $src/.libs/djpeg $fs/usr/bin
28 cp $src/.libs/jpegtran $fs/usr/bin
29 strip -s $fs/usr/*/*
30 }