wok-6.x annotate giblib/receipt @ rev 1194
Add perl-berkeleydb perl-io-multiplex perl-net-server
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 05 18:42:51 2008 +0000 (2008-08-05) |
parents | 40177f4e678a |
children | 987853b8719d |
rev | line source |
---|---|
mallory@1133 | 1 # SliTaz package receipt |
mallory@1133 | 2 |
mallory@1133 | 3 PACKAGE="giblib" |
mallory@1133 | 4 VERSION="1.2.4" |
mallory@1133 | 5 CATEGORY="graphics" |
mallory@1133 | 6 SHORT_DESC="Giblib graphic library." |
mallory@1133 | 7 MAINTAINER="mallory@sweetpeople.org" |
mallory@1133 | 8 DEPENDS="imlib2" |
mallory@1171 | 9 BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev" |
mallory@1133 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@1133 | 11 WEB_SITE="http://linuxbrit.co.uk/feh/" |
mallory@1133 | 12 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL" |
mallory@1133 | 13 |
mallory@1133 | 14 # Rules to configure and make the package. |
mallory@1133 | 15 compile_rules() |
mallory@1133 | 16 { |
mallory@1133 | 17 cd $src |
mallory@1133 | 18 ./configure --prefix=/usr |
mallory@1133 | 19 make |
mallory@1133 | 20 make DESTDIR=$PWD/_pkg install |
mallory@1133 | 21 } |
mallory@1133 | 22 |
mallory@1133 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@1133 | 24 genpkg_rules() |
mallory@1133 | 25 { |
mallory@1133 | 26 mkdir -p $fs/usr |
pascal@1135 | 27 cp -a $_pkg/usr/bin $fs/usr |
pascal@1135 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1135 | 29 rm -f $fs/usr/lib/*a |
mallory@1133 | 30 } |