wok view giflib/receipt @ rev 9078

python-nose: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 16:44:25 2011 +0100 (2011-03-04)
parents 9f19aee613be
children 3c93fb2c34fe
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 xorg-libSM xorg-libICE xorg-libX11 xorg-libXau \
9 xorg-libXdmcp"
10 BUILD_DEPENDS="slitaz-toolchain"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://sourceforge.net/projects/giflib/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }