# HG changeset patch # User Christopher Rogers # Date 1285689936 0 # Node ID cfb14214a6cafa66206ac63f8d232171bfdec3be # Parent d69f89800f8d9ba689c5ee04db875c01047e149b Added xbill game. diff -r d69f89800f8d -r cfb14214a6ca xbill/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xbill/receipt Tue Sep 28 16:05:36 2010 +0000 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="xbill" +VERSION="2.1" +CATEGORY="games" +SHORT_DESC="Xbill is a game that tests your reflexes as you seek and destroy all forms of Bill." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="gtk+ xorg-libXaw" +BUILD_DEPENDS="gtk+-dev xorg-libXaw-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.xbill.org/" +WGET_URL="$WEB_SITE/download/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --localstatedir=/var/games \ + --enable-gtk \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/xbill $fs/usr/share +} +