wok view gnubg/receipt @ rev 23769

linux:CONFIG_INPUT_ATLAS_BTNS=m
author Richard Dunbar <mojo@slitaz.org>
date Thu May 14 20:21:23 2020 -0400 (2020-05-14)
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 }