wok-6.x diff gnubg/receipt @ rev 24411

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 09 17:57:59 2022 +0000 (2022-02-09)
parents 25a4515a3878
children 17091bc7c301
line diff
     1.1 --- a/gnubg/receipt	Sat Feb 18 23:24:08 2017 +0100
     1.2 +++ b/gnubg/receipt	Wed Feb 09 17:57:59 2022 +0000
     1.3 @@ -1,28 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gnubg"
     1.7 -VERSION="1.05.000"
     1.8 +VERSION="1.06.002"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="GNU Backgammon game."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL"
    1.13 -TARBALL="$PACKAGE-release-$VERSION-sources.tar.gz"
    1.14 -WEB_SITE="http://www.gnubg.org/"
    1.15 -WGET_URL="http://files.gnubg.org/media/sources/$TARBALL"
    1.16 +WEB_SITE="https://www.gnu.org/software/gnubg/"
    1.17  
    1.18 -DEPENDS="gtk+ libcanberra ncurses python gmp libvorbis libltdl"
    1.19 -BUILD_DEPENDS="pkg-config autoconf automake bison flex libtool \
    1.20 -glib-dev libpng-dev freetype-dev gtk+-dev cairo-dev libcanberra-dev \
    1.21 -gtkglext-dev readline-dev python sqlite-dev gmp-dev"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.23 +WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$PACKAGE-release-$VERSION-sources.tar.gz"
    1.24 +
    1.25 +DEPENDS="gmp gtk+ libcanberra libltdl libvorbis ncurses python"
    1.26 +BUILD_DEPENDS="autoconf automake bison cairo-dev flex freetype-dev 
    1.27 +	glib-dev gmp-dev gtk+-dev gtkglext-dev libcanberra-dev libpng-dev 
    1.28 +	libtool pkg-config python-dev readline-dev sqlite-dev"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33  	export LDFLAGS="$LDFLAGS -ltinfo"
    1.34 -	./configure --prefix=/usr \
    1.35 -		--sysconfdir=/etc \
    1.36 -		--mandir=/usr/share/man \
    1.37 -		--disable-cputest \
    1.38 +
    1.39 +	./configure			\
    1.40 +		--prefix=/usr		\
    1.41 +		--sysconfdir=/etc	\
    1.42 +		--mandir=/usr/share/man	\
    1.43 +		--disable-cputest	\
    1.44  		$CONFIGURE_ARGS &&
    1.45  	make &&
    1.46  	make DESTDIR=$DESTDIR install
    1.47 @@ -32,6 +35,7 @@
    1.48  genpkg_rules()
    1.49  {
    1.50  	mkdir -p $fs/usr/share/applications
    1.51 -	cp -a $install/* $fs
    1.52 -	cp -a $stuff/gnubg.desktop $fs/usr/share/applications
    1.53 +
    1.54 +	cp -a $install/*		$fs
    1.55 +	cp -a $stuff/gnubg.desktop	$fs/usr/share/applications
    1.56  }