wok-current annotate gnubg/receipt @ rev 21159

Up vcdimager (2.0.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 31 13:48:00 2019 +0200 (2019-03-31)
parents ab1db1415dd8
children c0036f843071
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@19755 21 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@18909 22 ./configure --prefix=/usr \
pascal@18909 23 --sysconfdir=/etc \
pascal@18909 24 --mandir=/usr/share/man \
pascal@18909 25 --disable-cputest \
pascal@18909 26 $CONFIGURE_ARGS &&
pascal@18909 27 make &&
pascal@18909 28 make DESTDIR=$DESTDIR install
pascal@18909 29 }
pascal@18909 30
pascal@18909 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18909 32 genpkg_rules()
pascal@18909 33 {
pascal@18909 34 mkdir -p $fs/usr/share/applications
pascal@18909 35 cp -a $install/* $fs
pascal@18910 36 cp -a $stuff/gnubg.desktop $fs/usr/share/applications
pascal@18909 37 }