wok-next view giflib/receipt @ rev 3921
linux: fix .config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 18 21:42:30 2009 +0200 (2009-08-18) |
parents | 1198d4de24b9 |
children | 9f19aee613be |
line source
1 # SliTaz package receipt.
3 PACKAGE="giflib"
4 VERSION="4.1.6"
5 CATEGORY="graphics"
6 SHORT_DESC="A library for processing GIFs."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="slitaz-toolchain"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://sourceforge.net/projects/giflib/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }