wok-next view cgoban/receipt @ rev 18596

libsdl: fix post_install() status
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 13 17:31:47 2015 +0200 (2015-11-13)
parents 4f527a2114bf
children f48456621a9d
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://cgoban1.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/cgoban1/$TARBALL"
12 SUGGESTED="gnugo"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev xorg-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/share/applications
32 cp -a $install/usr/bin/cgoban $fs/usr/bin
33 }