wok-stable annotate cgoban/receipt @ rev 10627

gambas2: try an other trick
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 21:51:56 2011 +0200 (2011-05-26)
parents 59009b1c6878
children 4f527a2114bf
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
pankso@9697 31 cp $stuff/cgoban.desktop $fs/usr/share/applications
pascal@4571 32 }
pascal@4571 33