wok-6.x annotate cgoban/receipt @ rev 13294
sslh: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 27 17:15:42 2012 +0200 (2012-08-27) |
parents | a1644dbcf632 |
children | 408c87fa22ca |
rev | line source |
---|---|
pascal@4571 | 1 # SliTaz package receipt. |
pascal@4571 | 2 |
pascal@4571 | 3 PACKAGE="cgoban" |
pascal@4571 | 4 VERSION="1.9.14" |
pascal@4571 | 5 CATEGORY="games" |
pascal@4571 | 6 SHORT_DESC="Large set of go-related services for Unix and X11." |
pascal@4571 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4571 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4571 | 9 WEB_SITE="http://cgoban1.sourceforge.net/" |
pascal@4571 | 10 WGET_URL="$SF_MIRROR/cgoban1/$TARBALL" |
pascal@4571 | 11 DEPENDS="gtk+" |
pascal@8940 | 12 BUILD_DEPENDS="gtk+-dev xorg-dev" |
pascal@4571 | 13 SUGGESTED="gnugo" |
pascal@4571 | 14 |
pascal@4571 | 15 # Rules to configure and make the package. |
pascal@4571 | 16 compile_rules() |
pascal@4571 | 17 { |
pascal@4571 | 18 cd $src |
pascal@4571 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4571 | 20 --mandir=/usr/share/man \ |
pascal@4571 | 21 $CONFIGURE_ARGS && |
pascal@4571 | 22 make && |
pascal@4571 | 23 make DESTDIR=$PWD/_pkg install |
pascal@4571 | 24 } |
pascal@4571 | 25 |
pascal@4571 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4571 | 27 genpkg_rules() |
pascal@4571 | 28 { |
pascal@4571 | 29 mkdir -p $fs/usr/bin $fs/usr/share/applications |
pascal@4571 | 30 cp -a $_pkg/usr/bin/cgoban $fs/usr/bin |
pascal@4571 | 31 } |
pascal@4571 | 32 |