wok-6.x annotate cgoban/receipt @ rev 6256
Up: xterm to 262.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 14 03:20:32 2010 +0000 (2010-09-14) |
parents | |
children | 59009b1c6878 |
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@4571 | 12 BUILD_DEPENDS="gtk+-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 cp stuff/cgoban.desktop $fs/usr/share/applications |
pascal@4571 | 32 } |
pascal@4571 | 33 |