wok diff gnubg/receipt @ rev 18909

Add gnubg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 22 21:29:18 2016 +0100 (2016-02-22)
parents
children ab1db1415dd8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnubg/receipt	Mon Feb 22 21:29:18 2016 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnubg"
     1.7 +VERSION="1.05.000"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="GNU Backgammon game."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL"
    1.12 +TARBALL="$PACKAGE-release-$VERSION-sources.tar.gz"
    1.13 +WEB_SITE="http://www.gnubg.org/"
    1.14 +WGET_URL="http://files.gnubg.org/media/sources/$TARBALL"
    1.15 +
    1.16 +DEPENDS="gtk+ libcanberra ncurses python gmp libvorbis libltdl"
    1.17 +BUILD_DEPENDS="pkg-config autoconf automake bison flex libtool \
    1.18 +glib-dev libpng-dev freetype-dev gtk+-dev cairo-dev libcanberra-dev \
    1.19 +gtkglext-dev readline-dev python sqlite-dev gmp-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	./configure --prefix=/usr \
    1.25 +		--sysconfdir=/etc \
    1.26 +		--mandir=/usr/share/man \
    1.27 +		--disable-cputest \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make DESTDIR=$DESTDIR install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/share/applications
    1.37 +	cp -a $install/* $fs
    1.38 +	cp -a $stuff/gnupg.desktop $fs/usr/share/applications
    1.39 +}