wok-6.x annotate xbill/receipt @ rev 12344
Up: mercurial to 2.1.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 10:12:24 2012 +0000 (2012-04-19) |
parents | cfb14214a6ca |
children | 23c3aed67cd9 |
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@10665 | 8 DEPENDS="gtk+ xorg-libXaw lesstif" |
slaxemulator@10665 | 9 BUILD_DEPENDS="gtk+-dev xorg-libXaw-dev lesstif-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@10665 | 25 make && make DESTDIR=$DESTDIR 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 |