wok-stable diff eduke32/receipt @ rev 7136

Fixed ndiswrapper-driver (again).
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Nov 05 18:48:43 2010 +0000 (2010-11-05)
parents 7ea88aca3c62
children db6172c7409a
line diff
     1.1 --- a/eduke32/receipt	Sun Jul 11 17:47:11 2010 +0200
     1.2 +++ b/eduke32/receipt	Fri Nov 05 18:48:43 2010 +0000
     1.3 @@ -17,13 +17,11 @@
     1.4  {
     1.5     	mv eduke32_src_20090131 eduke32-20090313
     1.6  	cd $src
     1.7 -	[ -f $SOURCES_REPOSITORY/eduke32_src_20090313.diff ] &&
     1.8 -	cp $SOURCES_REPOSITORY/eduke32_src_20090313.diff .
     1.9 -	if [ ! -f eduke32_src_20090313.diff ]; then
    1.10 -    		wget http://wiki.eduke32.com/stuff/source_code/eduke32_src_20090313.diff
    1.11 -		cp eduke32_src_20090313.diff $SOURCES_REPOSITORY
    1.12 -	fi
    1.13 -   	patch -p1 < eduke32_src_20090313.diff
    1.14 +	[ -s $SOURCES_REPOSITORY/duke3d.grp ] ||
    1.15 +    	wget http://people.slitaz.org/~mallory/stuff/eduke32/duke3d.grp -P $SOURCES_REPOSITORY
    1.16 +	[ -s $SOURCES_REPOSITORY/eduke32_src_20090313.diff ] ||
    1.17 +    	wget http://wiki.eduke32.com/stuff/source_code/eduke32_src_20090313.diff -P $SOURCES_REPOSITORY
    1.18 +   	patch -p1 < $SOURCES_REPOSITORY/eduke32_src_20090313.diff
    1.19  	make -j 4 || return 1
    1.20      	mkdir $src/_pkg
    1.21      	cp eduke32 mapster32 $src/_pkg
    1.22 @@ -42,7 +40,7 @@
    1.23  	cp -a $src/eduke32 $src/mapster32 $fs/usr/bin
    1.24  	
    1.25  	echo "Downloading game data"
    1.26 -    	wget http://people.slitaz.org/~mallory/stuff/eduke32/duke3d.grp -O $fs/usr/share/games/eduke32/duke3d.grp
    1.27 +	cp $SOURCES_REPOSITORY/duke3d.grp $fs/usr/share/games/eduke32/duke3d.grp
    1.28  	
    1.29  	echo "Copying metadata"
    1.30  	cp stuff/eduke32.desktop $fs/usr/share/applications