wok annotate gnugo/receipt @ rev 24955

updated nano and nano-doc (4.8 -> 6.2)
author Hans-G?nter Theisgen
date Sat Apr 23 16:34:46 2022 +0100 (2022-04-23)
parents d1c17bd2c2bc
children d79ed38ace18
rev   line source
pascal@4568 1 # SliTaz package receipt.
pascal@4568 2
pascal@4568 3 PACKAGE="gnugo"
pascal@4568 4 VERSION="3.8"
pascal@4568 5 CATEGORY="games"
pascal@4568 6 SHORT_DESC="A free program that plays the game of Go."
pascal@4568 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15589 8 LICENSE="GPL3"
pascal@4568 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4568 10 WEB_SITE="http://www.gnu.org/software/gnugo/"
pascal@4568 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@15589 12 SUGGESTED="quarry"
pascal@15589 13
pascal@4568 14 DEPENDS="ncurses"
pascal@4568 15 BUILD_DEPENDS="ncurses-dev"
pascal@4568 16
pascal@24336 17 # What is the latest version available today?
pascal@24336 18 current_version()
pascal@24336 19 {
pascal@24336 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 22 }
pascal@24336 23
pascal@4568 24 # Rules to configure and make the package.
pascal@4568 25 compile_rules()
pascal@4568 26 {
pascal@4568 27 cd $src
pascal@4568 28 ./configure \
pascal@4568 29 --prefix=/usr \
pascal@4568 30 --libexecdir=/usr/lib \
pascal@4568 31 --infodir=/usr/share/info \
pascal@4568 32 --mandir=/usr/share/man \
pascal@4568 33 $CONFIGURE_ARGS &&
pascal@4568 34 make &&
pascal@15589 35 make DESTDIR=$DESTDIR install
pascal@4568 36 }
pascal@4568 37
pascal@4568 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4568 39 genpkg_rules()
pascal@4568 40 {
pascal@4568 41 mkdir -p $fs/usr
pascal@15589 42 cp -a $install/usr/bin $fs/usr
pascal@4568 43 }