wok-next diff foobillard/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d6378d455338
children 5669e8b3be70
line diff
     1.1 --- a/foobillard/receipt	Thu May 10 21:12:00 2018 +0300
     1.2 +++ b/foobillard/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,20 +3,18 @@
     1.4  PACKAGE="foobillard"
     1.5  VERSION="3.0a"
     1.6  CATEGORY="games"
     1.7 -SHORT_DESC="An OpenGL billiard game for Linux."
     1.8 -MAINTAINER="slaxemulator@gmail.com"
     1.9 +SHORT_DESC="An OpenGL billiard game for Linux"
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12 +WEB_SITE="http://foobillard.sourceforge.net/"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WEB_SITE="http://foobillard.sourceforge.net/"
    1.16  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17  
    1.18 -DEPENDS="libsdl freetype libpng16 mesa glu"
    1.19  BUILD_DEPENDS="libsdl-dev freetype-dev libpng16-dev glu mesa-dev \
    1.20  zlib-dev glu-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 +compile_rules() {
    1.26  	sed -i -e 's/-lXaw//' -e 's/-lXi//' src/Makefile.in
    1.27  
    1.28  	./configure \
    1.29 @@ -25,14 +23,13 @@
    1.30  		--infodir=/usr/share/info \
    1.31  		--mandir=/usr/share/man \
    1.32  		$CONFIGURE_ARGS &&
    1.33 -	make && make DESTDIR=$DESTDIR install
    1.34 +	make &&
    1.35 +	make DESTDIR=$install install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 +genpkg_rules() {
    1.42  	mkdir -p $fs/usr/share
    1.43  	cp -a $install/usr/bin $fs/usr
    1.44  	cp -a $install/usr/share/foobillard $fs/usr/share
    1.45 +	DEPENDS="libsdl freetype libpng16 mesa glu"
    1.46  }
    1.47 -