wok-current rev 15136

puzzles: create version2.def
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 10:51:36 2013 +0000 (2013-08-15)
parents 7971addf736e
children 116909b7c87e
files puzzles/receipt
line diff
     1.1 --- a/puzzles/receipt	Thu Aug 15 10:36:33 2013 +0000
     1.2 +++ b/puzzles/receipt	Thu Aug 15 10:51:36 2013 +0000
     1.3 @@ -8,6 +8,7 @@
     1.4  TARBALL="$PACKAGE.tar.gz"
     1.5  WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
     1.6  WGET_URL="${WEB_SITE}$TARBALL"
     1.7 +
     1.8  DEPENDS="gtk+ cairo libxcb xorg-libXrandr"
     1.9  BUILD_DEPENDS="gtk+-dev"
    1.10  
    1.11 @@ -15,10 +16,11 @@
    1.12  compile_rules()
    1.13  {
    1.14  	cd $src
    1.15 +	touch version2.def
    1.16  	sed -i 's/-pedantic//' Makefile mkfiles.pl
    1.17 -	mkdir -p _pkg/usr/local/games 2> /dev/null
    1.18 +	mkdir -p $DESTDIR/usr/local/games 2> /dev/null
    1.19  	make &&
    1.20 -	make DESTDIR=$PWD/_pkg install
    1.21 +	make DESTDIR=$DESTDIR install
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 @@ -27,7 +29,7 @@
    1.26  	mkdir -p $fs/usr/share/pixmaps \
    1.27  		$fs/usr/share/applications
    1.28  		
    1.29 -	cp -a $_pkg/usr/local/games $fs/usr
    1.30 +	cp -a $install/usr/local/games $fs/usr
    1.31  	
    1.32  	for img in $(ls $src/icons/*16d24*)
    1.33  	do