wok-6.x annotate cgoban/receipt @ rev 15057
codiad: use config.example.php
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:34:38 2013 +0000 (2013-08-13) |
parents | 4f527a2114bf |
children | 9af0e03b8ad0 |
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@15001 | 8 LICENSE="GPL2" |
pascal@4571 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4571 | 10 WEB_SITE="http://cgoban1.sourceforge.net/" |
pascal@4571 | 11 WGET_URL="$SF_MIRROR/cgoban1/$TARBALL" |
pascal@15001 | 12 SUGGESTED="gnugo" |
pascal@15001 | 13 |
pascal@4571 | 14 DEPENDS="gtk+" |
pascal@8940 | 15 BUILD_DEPENDS="gtk+-dev xorg-dev" |
pascal@4571 | 16 |
pascal@4571 | 17 # Rules to configure and make the package. |
pascal@4571 | 18 compile_rules() |
pascal@4571 | 19 { |
pascal@4571 | 20 cd $src |
pascal@4571 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4571 | 22 --mandir=/usr/share/man \ |
pascal@4571 | 23 $CONFIGURE_ARGS && |
pascal@4571 | 24 make && |
pascal@15001 | 25 make DESTDIR=$DESTDIR install |
pascal@4571 | 26 } |
pascal@4571 | 27 |
pascal@4571 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4571 | 29 genpkg_rules() |
pascal@4571 | 30 { |
pascal@4571 | 31 mkdir -p $fs/usr/bin $fs/usr/share/applications |
pascal@15001 | 32 cp -a $install/usr/bin/cgoban $fs/usr/bin |
pascal@4571 | 33 } |
pascal@4571 | 34 |