wok-next view gnubg/receipt @ rev 19001
Use variables in $TARBALL
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 23 11:51:37 2016 +0200 (2016-03-23) |
parents | 62104f2454a3 |
children | 2809ecb8c754 |
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 ./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 }