wok-6.x view gnubg/receipt @ rev 20668
Up pjsip (2.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 21 10:25:55 2019 +0100 (2019-01-21) |
parents | ab1db1415dd8 |
children | c0036f843071 |
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 sqlite-dev gmp-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -ltinfo"
22 ./configure --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 --disable-cputest \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/applications
35 cp -a $install/* $fs
36 cp -a $stuff/gnubg.desktop $fs/usr/share/applications
37 }