wok-6.x diff foobillard/receipt @ rev 14244

linux-source: fix version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 23 14:31:05 2013 +0100 (2013-03-23)
parents d1768332cee0
children 5735e0b38f6f
line diff
     1.1 --- a/foobillard/receipt	Sun May 08 09:01:58 2011 +0000
     1.2 +++ b/foobillard/receipt	Sat Mar 23 14:31:05 2013 +0100
     1.3 @@ -5,12 +5,13 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="An OpenGL billiard game for Linux."
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 -DEPENDS="libsdl freetype libpng mesa libglu-mesa"
     1.8 -BUILD_DEPENDS="libsdl-dev freetype-dev libpng-dev libglu-mesa mesa-dev zlib-dev"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://foobillard.sourceforge.net/"
    1.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.12  
    1.13 +DEPENDS="libsdl freetype libpng mesa libglu-mesa"
    1.14 +BUILD_DEPENDS="libsdl-dev freetype-dev libpng-dev libglu-mesa mesa-dev zlib-dev"
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 @@ -27,14 +28,14 @@
    1.20  		--infodir=/usr/share/info \
    1.21  		--mandir=/usr/share/man \
    1.22  		$CONFIGURE_ARGS &&
    1.23 -	make && make DESTDIR=$PWD/_pkg install
    1.24 +	make && make DESTDIR=$DESTDIR install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30  	mkdir -p $fs/usr/share
    1.31 -	cp -a $_pkg/usr/bin $fs/usr
    1.32 -	cp -a $_pkg/usr/share/foobillard $fs/usr/share
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/share/foobillard $fs/usr/share
    1.35  }
    1.36