wok diff eduke32/receipt @ rev 11401

Fix: typo in linux-libre-api-headers (thanks to godane)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Dec 11 02:16:15 2011 +0100 (2011-12-11)
parents 1229eb02952c
children 8e4c74abdf74
line diff
     1.1 --- a/eduke32/receipt	Tue Mar 15 14:59:35 2011 +0100
     1.2 +++ b/eduke32/receipt	Sun Dec 11 02:16:15 2011 +0100
     1.3 @@ -1,26 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="eduke32"
     1.7 -VERSION="20090313"
     1.8 +VERSION="20110319-1850"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Duke Nuken shoot them up port"
    1.11  MAINTAINER="mallory@sweetpeople.org"
    1.12 -DEPENDS="libsdl libsdl-mixer libvorbis gtk+"
    1.13 +DEPENDS="libsdl libsdl-mixer libvorbis gtk+ eduke32-data"
    1.14  BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm mesa-dev"
    1.15 -TARBALL="$PACKAGE""_src_20090131.zip"
    1.16 +TARBALL="${PACKAGE}_src_${VERSION}.tar.bz2"
    1.17  WEB_SITE="http://www.eduke32.com/"
    1.18 -WGET_URL="http://mirror.slitaz.org/sources/packages/e/$TARBALL"
    1.19 +WGET_URL="http://dukeworld.duke4.net/$PACKAGE/synthesis/$VERSION/$TARBALL"
    1.20  TAGS="shooting"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25  	cd $src
    1.26 -	[ -s $SOURCES_REPOSITORY/duke3d.grp ] ||
    1.27 -    	wget http://mirror.slitaz.org/sources/packages/d/duke3d.grp -P $SOURCES_REPOSITORY
    1.28 -	[ -s $SOURCES_REPOSITORY/eduke32_src_20090313.diff ] ||
    1.29 -    	wget http://mirror.slitaz.org/sources/packages/e/eduke32_src_20090313.diff -P $SOURCES_REPOSITORY
    1.30 -   	patch -p1 < $SOURCES_REPOSITORY/eduke32_src_20090313.diff
    1.31  	make -j 4 || return 1
    1.32      	mkdir $src/_pkg
    1.33      	cp eduke32 mapster32 $src/_pkg
    1.34 @@ -30,20 +25,10 @@
    1.35  genpkg_rules()
    1.36  {
    1.37  	echo "Building package tree"
    1.38 -	mkdir -p $fs/usr/bin \
    1.39 -		$fs/usr/share/games/eduke32 \
    1.40 -		$fs/usr/share/applications \
    1.41 -		$fs/usr/share/pixmaps \
    1.42 +	mkdir -p $fs/usr/bin 
    1.43  
    1.44  	echo "Copying package files"
    1.45  	cp -a $_pkg/eduke32 $_pkg/mapster32 $fs/usr/bin
    1.46 -	
    1.47 -	echo "Downloading game data"
    1.48 -	cp $SOURCES_REPOSITORY/duke3d.grp $fs/usr/share/games/eduke32/duke3d.grp
    1.49 -	
    1.50 -	echo "Copying metadata"
    1.51 -	cp $stuff/eduke32.desktop $fs/usr/share/applications
    1.52 -	cp $stuff/eduke32.png $fs/usr/share/pixmaps
    1.53  }
    1.54  
    1.55