wok-4.x annotate giblib/receipt @ rev 12200
apache: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 26 17:23:49 2012 +0200 (2012-03-26) |
parents | 987853b8719d |
children |
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 } |