wok-current annotate xbill/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 23c3aed67cd9 |
children |
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" |
pascal@15601 | 8 LICENSE="GPL" |
slaxemulator@6456 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6456 | 10 WEB_SITE="http://www.xbill.org/" |
slaxemulator@6456 | 11 WGET_URL="$WEB_SITE/download/$TARBALL" |
slaxemulator@6456 | 12 |
pascal@15601 | 13 DEPENDS="gtk+ xorg-libXaw lesstif" |
pascal@15601 | 14 BUILD_DEPENDS="gtk+-dev xorg-libXaw-dev lesstif-dev" |
pascal@15601 | 15 |
pascal@24427 | 16 # What is the latest version available today? |
pascal@24427 | 17 current_version() |
pascal@24427 | 18 { |
pascal@24427 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 21 } |
pascal@24427 | 22 |
slaxemulator@6456 | 23 # Rules to configure and make the package. |
slaxemulator@6456 | 24 compile_rules() |
slaxemulator@6456 | 25 { |
slaxemulator@6456 | 26 cd $src |
slaxemulator@6456 | 27 ./configure \ |
slaxemulator@6456 | 28 --prefix=/usr \ |
slaxemulator@6456 | 29 --infodir=/usr/share/info \ |
slaxemulator@6456 | 30 --mandir=/usr/share/man \ |
slaxemulator@6456 | 31 --localstatedir=/var/games \ |
slaxemulator@6456 | 32 --enable-gtk \ |
slaxemulator@6456 | 33 $CONFIGURE_ARGS && |
slaxemulator@10665 | 34 make && make DESTDIR=$DESTDIR install |
slaxemulator@6456 | 35 } |
slaxemulator@6456 | 36 |
slaxemulator@6456 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6456 | 38 genpkg_rules() |
slaxemulator@6456 | 39 { |
slaxemulator@6456 | 40 mkdir -p $fs/usr/share |
pascal@15601 | 41 cp -a $install/usr/bin $fs/usr |
pascal@15601 | 42 cp -a $install/usr/share/xbill $fs/usr/share |
slaxemulator@6456 | 43 } |