wok annotate giblib/receipt @ rev 7153

Made compcache to use linux-modules-headers. This way linux in wok doesn't need to be compiled.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 06 19:22:12 2010 +0000 (2010-11-06)
parents 7e57bf5a8f06
children b7319995b37e
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
pascal@2485 18 ./configure --prefix=/usr &&
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 }