wok-6.x view cgoban/receipt @ rev 9697

a*, b*, c*: starte with a tiny sed in the wok for stuff/ --> $/stuff
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 07 23:47:19 2011 +0200 (2011-05-07)
parents 59009b1c6878
children 4f527a2114bf
line source
1 # SliTaz package receipt.
3 PACKAGE="cgoban"
4 VERSION="1.9.14"
5 CATEGORY="games"
6 SHORT_DESC="Large set of go-related services for Unix and X11."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://cgoban1.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/cgoban1/$TARBALL"
11 DEPENDS="gtk+"
12 BUILD_DEPENDS="gtk+-dev xorg-dev"
13 SUGGESTED="gnugo"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/share/applications
30 cp -a $_pkg/usr/bin/cgoban $fs/usr/bin
31 cp $stuff/cgoban.desktop $fs/usr/share/applications
32 }