wok view cgoban/receipt @ rev 7674
Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Dec 16 17:16:06 2010 +0000 (2010-12-16) |
parents | |
children | 59009b1c6878 |
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"
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 }