# HG changeset patch
# User Pascal Bellard <pascal.bellard@slitaz.org>
# Date 1260303674 -3600
# Node ID 850f71061ef8d87521393373716dbf3ca1bb4a7e
# Parent  de49ec9d5be39bbbcec920ba3553056690e3b43f
Add cgoban

diff -r de49ec9d5be3 -r 850f71061ef8 cgoban/receipt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cgoban/receipt	Tue Dec 08 21:21:14 2009 +0100
@@ -0,0 +1,33 @@
+# SliTaz package receipt.
+
+PACKAGE="cgoban"
+VERSION="1.9.14"
+CATEGORY="games"
+SHORT_DESC="Large set of go-related services for Unix and X11."
+MAINTAINER="pascal.bellard@slitaz.org"
+TARBALL="$PACKAGE-$VERSION.tar.gz"
+WEB_SITE="http://cgoban1.sourceforge.net/"
+WGET_URL="$SF_MIRROR/cgoban1/$TARBALL"
+DEPENDS="gtk+"
+BUILD_DEPENDS="gtk+-dev"
+SUGGESTED="gnugo"
+
+# Rules to configure and make the package.
+compile_rules()
+{
+	cd $src
+	./configure --prefix=/usr --infodir=/usr/share/info \
+	--mandir=/usr/share/man \
+	$CONFIGURE_ARGS &&
+	make &&
+	make DESTDIR=$PWD/_pkg install
+}
+
+# Rules to gen a SliTaz package suitable for Tazpkg.
+genpkg_rules()
+{
+	mkdir -p $fs/usr/bin $fs/usr/share/applications
+	cp -a $_pkg/usr/bin/cgoban $fs/usr/bin
+	cp stuff/cgoban.desktop $fs/usr/share/applications
+}
+
diff -r de49ec9d5be3 -r 850f71061ef8 cgoban/stuff/cgoban.desktop
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cgoban/stuff/cgoban.desktop	Tue Dec 08 21:21:14 2009 +0100
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Cgoban
+GenericName=GO Game GUI
+Comment=A board game GUI for Go
+Exec=cgoban
+Icon=applications-internet.png
+Terminal=false
+Type=Application
+Version=1.9.14
+Categories=Application;GTK;GNOME;Game;BoardGame;
+StartupNotify=true
+MimeType=application/x-go-sgf;text/sgf;text/x-sgf;