# 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" LICENSE="GPL" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.xbill.org/" WGET_URL="$WEB_SITE/download/$TARBALL" DEPENDS="gtk+ xorg-libXaw lesstif" BUILD_DEPENDS="gtk+-dev xorg-libXaw-dev lesstif-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # 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=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/xbill $fs/usr/share }