wok-4.x rev 9369

Up: eduke32 to 20110319-1850. Add eduke32-data for duke3d.grp file. This will save space in the source folder also.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 22 21:16:04 2011 +0000 (2011-03-22)
parents 76e20a3a9bdb
children 6a610252cd65
files eduke32-data/receipt eduke32/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/eduke32-data/receipt	Tue Mar 22 21:16:04 2011 +0000
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="eduke32-data"
     1.7 +VERSION="1"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="eduke32 data files"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +TARBALL="duke3d.grp"
    1.12 +WEB_SITE="http://www.eduke32.com/"
    1.13 +WGET_URL="http://mirror.slitaz.org/sources/packages/d/duke3d.grp"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/share/games/eduke32
    1.19 +	cp -a  $src/duke3d.grp $fs/usr/share/games/eduke32
    1.20 +}
    1.21 +
     2.1 --- a/eduke32/receipt	Tue Mar 22 20:14:14 2011 +0000
     2.2 +++ b/eduke32/receipt	Tue Mar 22 21:16:04 2011 +0000
     2.3 @@ -1,26 +1,21 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="eduke32"
     2.7 -VERSION="20090313"
     2.8 +VERSION="20110319-1850"
     2.9  CATEGORY="games"
    2.10  SHORT_DESC="Duke Nuken shoot them up port"
    2.11  MAINTAINER="mallory@sweetpeople.org"
    2.12 -DEPENDS="libsdl libsdl-mixer libvorbis gtk+"
    2.13 +DEPENDS="libsdl libsdl-mixer libvorbis gtk+ eduke32-data"
    2.14  BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm mesa-dev"
    2.15 -TARBALL="$PACKAGE""_src_20090131.zip"
    2.16 +TARBALL="${PACKAGE}_src_${VERSION}.tar.bz2"
    2.17  WEB_SITE="http://www.eduke32.com/"
    2.18 -WGET_URL="http://mirror.slitaz.org/sources/packages/e/$TARBALL"
    2.19 +WGET_URL="http://dukeworld.duke4.net/$PACKAGE/synthesis/$VERSION/$TARBALL"
    2.20  TAGS="shooting"
    2.21  
    2.22  # Rules to configure and make the package.
    2.23  compile_rules()
    2.24  {
    2.25  	cd $src
    2.26 -	[ -s $SOURCES_REPOSITORY/duke3d.grp ] ||
    2.27 -    	wget http://mirror.slitaz.org/sources/packages/d/duke3d.grp -P $SOURCES_REPOSITORY
    2.28 -	[ -s $SOURCES_REPOSITORY/eduke32_src_20090313.diff ] ||
    2.29 -    	wget http://mirror.slitaz.org/sources/packages/e/eduke32_src_20090313.diff -P $SOURCES_REPOSITORY
    2.30 -   	patch -p1 < $SOURCES_REPOSITORY/eduke32_src_20090313.diff
    2.31  	make -j 4 || return 1
    2.32      	mkdir $src/_pkg
    2.33      	cp eduke32 mapster32 $src/_pkg
    2.34 @@ -30,20 +25,10 @@
    2.35  genpkg_rules()
    2.36  {
    2.37  	echo "Building package tree"
    2.38 -	mkdir -p $fs/usr/bin \
    2.39 -		$fs/usr/share/games/eduke32 \
    2.40 -		$fs/usr/share/applications \
    2.41 -		$fs/usr/share/pixmaps \
    2.42 +	mkdir -p $fs/usr/bin 
    2.43  
    2.44  	echo "Copying package files"
    2.45  	cp -a $_pkg/eduke32 $_pkg/mapster32 $fs/usr/bin
    2.46 -	
    2.47 -	echo "Downloading game data"
    2.48 -	cp $SOURCES_REPOSITORY/duke3d.grp $fs/usr/share/games/eduke32/duke3d.grp
    2.49 -	
    2.50 -	echo "Copying metadata"
    2.51 -	cp $stuff/eduke32.desktop $fs/usr/share/applications
    2.52 -	cp $stuff/eduke32.png $fs/usr/share/pixmaps
    2.53  }
    2.54  
    2.55