wok-next rev 9265

eduke32: get sources from mirror.slitaz.org
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 15 14:39:29 2011 +0100 (2011-03-15)
parents cb16742e0fa6
children 1229eb02952c
files eduke32/receipt
line diff
     1.1 --- a/eduke32/receipt	Tue Mar 15 12:26:04 2011 +0100
     1.2 +++ b/eduke32/receipt	Tue Mar 15 14:39:29 2011 +0100
     1.3 @@ -9,18 +9,17 @@
     1.4  BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm"
     1.5  TARBALL="$PACKAGE""_src_20090131.zip"
     1.6  WEB_SITE="http://www.eduke32.com/"
     1.7 -WGET_URL="http://wiki.eduke32.com/stuff/source_code/$TARBALL"
     1.8 +WGET_URL="http://mirror.slitaz.org/sources/packages/e/$TARBALL"
     1.9  TAGS="shooting"
    1.10  
    1.11  # Rules to configure and make the package.
    1.12  compile_rules()
    1.13  {
    1.14 -   	mv eduke32_src_20090131 eduke32-20090313
    1.15  	cd $src
    1.16  	[ -s $SOURCES_REPOSITORY/duke3d.grp ] ||
    1.17 -    	wget http://people.slitaz.org/~mallory/stuff/eduke32/duke3d.grp -P $SOURCES_REPOSITORY
    1.18 +    	wget http://mirror.slitaz.org/sources/packages/d/duke3d.grp -P $SOURCES_REPOSITORY
    1.19  	[ -s $SOURCES_REPOSITORY/eduke32_src_20090313.diff ] ||
    1.20 -    	wget http://wiki.eduke32.com/stuff/source_code/eduke32_src_20090313.diff -P $SOURCES_REPOSITORY
    1.21 +    	wget http://mirror.slitaz.org/sources/packages/e/eduke32_src_20090313.diff -P $SOURCES_REPOSITORY
    1.22     	patch -p1 < $SOURCES_REPOSITORY/eduke32_src_20090313.diff
    1.23  	make -j 4 || return 1
    1.24      	mkdir $src/_pkg
    1.25 @@ -37,14 +36,14 @@
    1.26  		$fs/usr/share/pixmaps \
    1.27  
    1.28  	echo "Copying package files"
    1.29 -	cp -a $src/eduke32 $src/mapster32 $fs/usr/bin
    1.30 +	cp -a $_pkg/eduke32 $_pkg/mapster32 $fs/usr/bin
    1.31  	
    1.32  	echo "Downloading game data"
    1.33  	cp $SOURCES_REPOSITORY/duke3d.grp $fs/usr/share/games/eduke32/duke3d.grp
    1.34  	
    1.35  	echo "Copying metadata"
    1.36 -	cp stuff/eduke32.desktop $fs/usr/share/applications
    1.37 -	cp stuff/eduke32.png $fs/usr/share/pixmaps
    1.38 +	cp $stuff/eduke32.desktop $fs/usr/share/applications
    1.39 +	cp $stuff/eduke32.png $fs/usr/share/pixmaps
    1.40  }
    1.41  
    1.42