wok-6.x annotate gnugo/receipt @ rev 4568

Add gnugo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 08 16:20:33 2009 +0100 (2009-12-08)
parents
children de49ec9d5be3
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@4568 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4568 9 WEB_SITE="http://www.gnu.org/software/gnugo/"
pascal@4568 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@4568 11 DEPENDS="ncurses"
pascal@4568 12 BUILD_DEPENDS="ncurses-dev"
pascal@4568 13
pascal@4568 14 # Rules to configure and make the package.
pascal@4568 15 compile_rules()
pascal@4568 16 {
pascal@4568 17 cd $src
pascal@4568 18 ./configure \
pascal@4568 19 --prefix=/usr \
pascal@4568 20 --libexecdir=/usr/lib \
pascal@4568 21 --infodir=/usr/share/info \
pascal@4568 22 --mandir=/usr/share/man \
pascal@4568 23 $CONFIGURE_ARGS &&
pascal@4568 24 make &&
pascal@4568 25 make DESTDIR=$PWD/_pkg install
pascal@4568 26 }
pascal@4568 27
pascal@4568 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4568 29 genpkg_rules()
pascal@4568 30 {
pascal@4568 31 mkdir -p $fs/usr
pascal@4568 32 cp -a $_pkg/usr/bin $fs/usr
pascal@4568 33 }