wok-stable view jpeg-dev/receipt @ rev 871
linux: package all splited pkgs with genpkg_rules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 06 12:20:08 2008 +0200 (2008-06-06) |
parents | 8e5c96401d01 |
children | b0ae2959206e |
line source
1 # SliTaz package receipt.
3 PACKAGE="jpeg-dev"
4 VERSION="6b"
5 CATEGORY="development"
6 SHORT_DESC="JPEG images libs."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.ijg.org/"
9 WANTED="jpeg"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 cd $src
15 ./configure --prefix=/usr \
16 --mandir=/usr/share/man $CONFIGURE_ARGS
17 make
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/lib $fs/usr/include
24 cp -a $src/libjpeg.la $fs/usr/lib
25 cp -a $src/libjpeg.a $fs/usr/lib
26 cp -a $src/jconfig.h $fs/usr/include
27 cp -a $src/jerror.h $fs/usr/include
28 cp -a $src/jmorecfg.h $fs/usr/include
29 cp -a $src/jpegint.h $fs/usr/include
30 cp -a $src/jpeglib.h $fs/usr/include
31 }