wok view gnubg/receipt @ rev 23945

Up slitaz-base-files (342)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 18 18:47:32 2020 +0000 (2020-09-18)
parents 25a4515a3878
children 17091bc7c301
line source
1 # SliTaz package receipt.
3 PACKAGE="gnubg"
4 VERSION="1.06.002"
5 CATEGORY="games"
6 SHORT_DESC="GNU Backgammon game."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://www.gnu.org/software/gnubg/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$PACKAGE-release-$VERSION-sources.tar.gz"
14 DEPENDS="gmp gtk+ libcanberra libltdl libvorbis ncurses python"
15 BUILD_DEPENDS="autoconf automake bison cairo-dev flex freetype-dev
16 glib-dev gmp-dev gtk+-dev gtkglext-dev libcanberra-dev libpng-dev
17 libtool pkg-config python-dev readline-dev sqlite-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export LDFLAGS="$LDFLAGS -ltinfo"
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --mandir=/usr/share/man \
28 --disable-cputest \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/applications
39 cp -a $install/* $fs
40 cp -a $stuff/gnubg.desktop $fs/usr/share/applications
41 }