wok annotate xbill/receipt @ rev 8178

imported patch toolchain/elfutils.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:49 2011 +0100 (2011-01-27)
parents
children 4efb2cc82017
rev   line source
slaxemulator@6456 1 # SliTaz package receipt.
slaxemulator@6456 2
slaxemulator@6456 3 PACKAGE="xbill"
slaxemulator@6456 4 VERSION="2.1"
slaxemulator@6456 5 CATEGORY="games"
slaxemulator@6456 6 SHORT_DESC="Xbill is a game that tests your reflexes as you seek and destroy all forms of Bill."
slaxemulator@6456 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6456 8 DEPENDS="gtk+ xorg-libXaw"
slaxemulator@6456 9 BUILD_DEPENDS="gtk+-dev xorg-libXaw-dev"
slaxemulator@6456 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6456 11 WEB_SITE="http://www.xbill.org/"
slaxemulator@6456 12 WGET_URL="$WEB_SITE/download/$TARBALL"
slaxemulator@6456 13
slaxemulator@6456 14 # Rules to configure and make the package.
slaxemulator@6456 15 compile_rules()
slaxemulator@6456 16 {
slaxemulator@6456 17 cd $src
slaxemulator@6456 18 ./configure \
slaxemulator@6456 19 --prefix=/usr \
slaxemulator@6456 20 --infodir=/usr/share/info \
slaxemulator@6456 21 --mandir=/usr/share/man \
slaxemulator@6456 22 --localstatedir=/var/games \
slaxemulator@6456 23 --enable-gtk \
slaxemulator@6456 24 $CONFIGURE_ARGS &&
slaxemulator@6456 25 make && make DESTDIR=$PWD/_pkg install
slaxemulator@6456 26 }
slaxemulator@6456 27
slaxemulator@6456 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6456 29 genpkg_rules()
slaxemulator@6456 30 {
slaxemulator@6456 31 mkdir -p $fs/usr/share
slaxemulator@6456 32 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6456 33 cp -a $_pkg/usr/share/xbill $fs/usr/share
slaxemulator@6456 34 }
slaxemulator@6456 35