wok rev 1399

Up: wormux to 0.8.1
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Sep 20 11:15:19 2008 +0200 (2008-09-20)
parents fa8bcceddce2
children 5cfbf8e425a8
files wormux/receipt
line diff
     1.1 --- a/wormux/receipt	Sat Sep 20 08:55:30 2008 +0200
     1.2 +++ b/wormux/receipt	Sat Sep 20 11:15:19 2008 +0200
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="wormux"
     1.7 -VERSION="0.8"
     1.8 +VERSION="0.8.1"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Wormux game."
    1.11 -DEPENDS="xorg libSDL libsdl-gfx libsdl-image libsdl-mixer
    1.12 +DEPENDS="xorg libsdl-gfx libsdl-image libsdl-mixer
    1.13  	libsdl-net libsdl-ttf curl"
    1.14 -BUILD_DEPENDS="xorg-dev libSDL-dev libsdl-gfx-dev libsdl-image-dev
    1.15 -	libsdl-mixer-dev libsdl-net-dev libsdl-ttf-dev curl-dev"
    1.16 +BUILD_DEPENDS="xorg-dev libsdl-gfx-dev libsdl-image-dev
    1.17 +	libsdl-mixer-dev libsdl-net-dev libsdl-ttf libsdl-ttf-dev curl-dev"
    1.18  MAINTAINER="pankso@slitaz.org"
    1.19  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.20  WEB_SITE="http://www.wormux.org/"
    1.21 @@ -19,12 +19,14 @@
    1.22  	cd $src
    1.23  	sed -i s:"INSTALL = /usr/bin/install -c":"INSTALL = /usr/bin/install -c -d":\
    1.24  		Makefile
    1.25 +	sed -i 's/test -z "$(pkgdatadir)"/test -d "$(pkgdatadir)"/'\
    1.26 +		 data/Makefile.in
    1.27  	./configure \
    1.28  		--prefix=/usr \
    1.29  		--bindir=/usr/games \
    1.30  		--with-font-path=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf \
    1.31 -		$CONFIGURE_ARGS
    1.32 -	make
    1.33 +		$CONFIGURE_ARGS &&
    1.34 +	make &&
    1.35  	make DESTDIR=$PWD/_pkg install
    1.36  }
    1.37