wok-stable annotate gnugo/receipt @ rev 5818
tazbb: add stable support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 15 10:25:06 2010 +0200 (2010-07-15) |
parents | dbf67aee2761 |
children |
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@4570 | 13 SUGGESTED="quarry" |
pascal@4568 | 14 |
pascal@4568 | 15 # Rules to configure and make the package. |
pascal@4568 | 16 compile_rules() |
pascal@4568 | 17 { |
pascal@4568 | 18 cd $src |
pascal@4568 | 19 ./configure \ |
pascal@4568 | 20 --prefix=/usr \ |
pascal@4568 | 21 --libexecdir=/usr/lib \ |
pascal@4568 | 22 --infodir=/usr/share/info \ |
pascal@4568 | 23 --mandir=/usr/share/man \ |
pascal@4568 | 24 $CONFIGURE_ARGS && |
pascal@4568 | 25 make && |
pascal@4568 | 26 make DESTDIR=$PWD/_pkg install |
pascal@4568 | 27 } |
pascal@4568 | 28 |
pascal@4568 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4568 | 30 genpkg_rules() |
pascal@4568 | 31 { |
pascal@4568 | 32 mkdir -p $fs/usr |
pascal@4568 | 33 cp -a $_pkg/usr/bin $fs/usr |
pascal@4568 | 34 } |