wok-6.x annotate giblib/receipt @ rev 14993
iptraf: update receipt
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Aug 10 02:01:31 2013 +0000 (2013-08-10) |
parents | 987853b8719d |
children | de49f29b101e |
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" |
pascal@2485 | 8 DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext" |
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 |
gokhlayeh@11573 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2485 | 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 } |