wok view gnubg/receipt @ rev 25705
fusecloop/extract_compressed_fs: can convert to v0.68 or v1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 22 12:48:49 2024 +0000 (5 months ago) |
parents | c0036f843071 |
children |
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="http://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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*release-||;s|-source.*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -ltinfo"
31 ./configure \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 --mandir=/usr/share/man \
35 --disable-cputest \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/applications
46 cp -a $install/* $fs
47 cp -a $stuff/gnubg.desktop $fs/usr/share/applications
48 }