wok view xbill/receipt @ rev 24541
kfilemetadata: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 23 17:37:38 2022 +0000 (2022-02-23) |
parents | 23c3aed67cd9 |
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 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xbill.org/"
11 WGET_URL="$WEB_SITE/download/$TARBALL"
13 DEPENDS="gtk+ xorg-libXaw lesstif"
14 BUILD_DEPENDS="gtk+-dev xorg-libXaw-dev lesstif-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --localstatedir=/var/games \
32 --enable-gtk \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share/xbill $fs/usr/share
43 }