wok-current annotate xbill/receipt @ rev 17411

Add littleutils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 29 11:40:52 2014 +0100 (2014-11-29)
parents 4efb2cc82017
children 83b97236db32
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"
pascal@15601 8 LICENSE="GPL"
slaxemulator@6456 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6456 10 WEB_SITE="http://www.xbill.org/"
slaxemulator@6456 11 WGET_URL="$WEB_SITE/download/$TARBALL"
slaxemulator@6456 12
pascal@15601 13 DEPENDS="gtk+ xorg-libXaw lesstif"
pascal@15601 14 BUILD_DEPENDS="gtk+-dev xorg-libXaw-dev lesstif-dev"
pascal@15601 15
slaxemulator@6456 16 # Rules to configure and make the package.
slaxemulator@6456 17 compile_rules()
slaxemulator@6456 18 {
slaxemulator@6456 19 cd $src
slaxemulator@6456 20 ./configure \
slaxemulator@6456 21 --prefix=/usr \
slaxemulator@6456 22 --infodir=/usr/share/info \
slaxemulator@6456 23 --mandir=/usr/share/man \
slaxemulator@6456 24 --localstatedir=/var/games \
slaxemulator@6456 25 --enable-gtk \
slaxemulator@6456 26 $CONFIGURE_ARGS &&
slaxemulator@10665 27 make && make DESTDIR=$DESTDIR install
slaxemulator@6456 28 }
slaxemulator@6456 29
slaxemulator@6456 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6456 31 genpkg_rules()
slaxemulator@6456 32 {
slaxemulator@6456 33 mkdir -p $fs/usr/share
pascal@15601 34 cp -a $install/usr/bin $fs/usr
pascal@15601 35 cp -a $install/usr/share/xbill $fs/usr/share
slaxemulator@6456 36 }