wok-next annotate gnubg/receipt @ rev 18985

Add: Backgrounds created by the community. See: https://github.com/hackdorte/slitaz-community-backgrounds
author Leonardo Laporte <hackdorte@sapo.pt>
date Thu Mar 17 00:11:28 2016 -0300 (2016-03-17)
parents 62104f2454a3
children 2809ecb8c754
rev   line source
pascal@18909 1 # SliTaz package receipt.
pascal@18909 2
pascal@18909 3 PACKAGE="gnubg"
pascal@18909 4 VERSION="1.05.000"
pascal@18909 5 CATEGORY="games"
pascal@18909 6 SHORT_DESC="GNU Backgammon game."
pascal@18909 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18909 8 LICENSE="GPL"
pascal@18909 9 TARBALL="$PACKAGE-release-$VERSION-sources.tar.gz"
pascal@18909 10 WEB_SITE="http://www.gnubg.org/"
pascal@18909 11 WGET_URL="http://files.gnubg.org/media/sources/$TARBALL"
pascal@18909 12
pascal@18909 13 DEPENDS="gtk+ libcanberra ncurses python gmp libvorbis libltdl"
pascal@18909 14 BUILD_DEPENDS="pkg-config autoconf automake bison flex libtool \
pascal@18909 15 glib-dev libpng-dev freetype-dev gtk+-dev cairo-dev libcanberra-dev \
pascal@18909 16 gtkglext-dev readline-dev python sqlite-dev gmp-dev"
pascal@18909 17
pascal@18909 18 # Rules to configure and make the package.
pascal@18909 19 compile_rules()
pascal@18909 20 {
pascal@18909 21 ./configure --prefix=/usr \
pascal@18909 22 --sysconfdir=/etc \
pascal@18909 23 --mandir=/usr/share/man \
pascal@18909 24 --disable-cputest \
pascal@18909 25 $CONFIGURE_ARGS &&
pascal@18909 26 make &&
pascal@18909 27 make DESTDIR=$DESTDIR install
pascal@18909 28 }
pascal@18909 29
pascal@18909 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18909 31 genpkg_rules()
pascal@18909 32 {
pascal@18909 33 mkdir -p $fs/usr/share/applications
pascal@18909 34 cp -a $install/* $fs
pascal@18910 35 cp -a $stuff/gnubg.desktop $fs/usr/share/applications
pascal@18909 36 }