wok-next view gnubg/receipt @ rev 20428
Port changes from cooking wok: fake-sane, sane-backends.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 13:17:46 2018 +0200 (2018-01-24) |
parents | ab1db1415dd8 |
children | dd145c435e4b |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnubg"
4 VERSION="1.05.000"
5 CATEGORY="games"
6 SHORT_DESC="GNU Backgammon game."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-release-$VERSION-sources.tar.gz"
10 WEB_SITE="http://www.gnubg.org/"
11 WGET_URL="http://files.gnubg.org/media/sources/$TARBALL"
13 DEPENDS="gtk+ libcanberra ncurses python gmp libvorbis libltdl"
14 BUILD_DEPENDS="pkg-config autoconf automake bison flex libtool \
15 glib-dev libpng-dev freetype-dev gtk+-dev cairo-dev libcanberra-dev \
16 gtkglext-dev readline-dev python sqlite3-dev gmp-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 --disable-cputest \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/applications
34 cp -a $install/* $fs
35 cp -a $stuff/gnubg.desktop $fs/usr/share/applications
36 }