wok view xbill/receipt @ rev 13601
pdns: add post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 10 13:54:41 2012 +0100 (2012-11-10) |
parents | cfb14214a6ca |
children | 23c3aed67cd9 |
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 }