wok-next annotate giblib/receipt @ rev 15794

Up: slitaz-configs (5.2.2)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 19 13:35:48 2014 +0100 (2014-01-19)
parents b7319995b37e
children 6d8a4be89f3d
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@15600 8 LICENSE="MIT"
mallory@1133 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
mallory@1133 10 WEB_SITE="http://linuxbrit.co.uk/feh/"
mallory@1133 11 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL"
mallory@1133 12
pascal@15600 13 DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
pascal@15600 14 BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev"
pascal@15600 15
mallory@1133 16 # Rules to configure and make the package.
mallory@1133 17 compile_rules()
mallory@1133 18 {
mallory@1133 19 cd $src
gokhlayeh@11573 20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@2485 21 make &&
pascal@15600 22 make DESTDIR=$DESTDIR install
mallory@1133 23 }
mallory@1133 24
mallory@1133 25 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@1133 26 genpkg_rules()
mallory@1133 27 {
mallory@1133 28 mkdir -p $fs/usr
pascal@15600 29 cp -a $install/usr/bin $fs/usr
pascal@15600 30 cp -a $install/usr/lib $fs/usr
pascal@1135 31 rm -f $fs/usr/lib/*a
mallory@1133 32 }