wok-stable view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="gnugo"
4 VERSION="3.8"
5 CATEGORY="games"
6 SHORT_DESC="A free program that plays the game of Go."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/gnugo/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="ncurses"
12 BUILD_DEPENDS="ncurses-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --libexecdir=/usr/lib \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 }