wok-current annotate gnugo/receipt @ rev 17427
Up tazlito (5.2.6) & postgrey (1.35)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 05 13:01:58 2014 +0100 (2014-12-05) |
parents | de49ec9d5be3 |
children | 71360a13cd94 |
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@4568 | 17 # Rules to configure and make the package. |
pascal@4568 | 18 compile_rules() |
pascal@4568 | 19 { |
pascal@4568 | 20 cd $src |
pascal@4568 | 21 ./configure \ |
pascal@4568 | 22 --prefix=/usr \ |
pascal@4568 | 23 --libexecdir=/usr/lib \ |
pascal@4568 | 24 --infodir=/usr/share/info \ |
pascal@4568 | 25 --mandir=/usr/share/man \ |
pascal@4568 | 26 $CONFIGURE_ARGS && |
pascal@4568 | 27 make && |
pascal@15589 | 28 make DESTDIR=$DESTDIR install |
pascal@4568 | 29 } |
pascal@4568 | 30 |
pascal@4568 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4568 | 32 genpkg_rules() |
pascal@4568 | 33 { |
pascal@4568 | 34 mkdir -p $fs/usr |
pascal@15589 | 35 cp -a $install/usr/bin $fs/usr |
pascal@4568 | 36 } |