wok-4.x view xbill/receipt @ rev 11492
gamin: Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Dec 19 02:49:30 2011 +0100 (2011-12-19) |
parents | cfb14214a6ca |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xbill"
4 VERSION="2.1"
5 CATEGORY="games"
6 SHORT_DESC="Xbill is a game that tests your reflexes as you seek and destroy all forms of Bill."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="gtk+ xorg-libXaw lesstif"
9 BUILD_DEPENDS="gtk+-dev xorg-libXaw-dev lesstif-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.xbill.org/"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --localstatedir=/var/games \
23 --enable-gtk \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/xbill $fs/usr/share
34 }