wok rev 9278

Fixed prboom from crashing by disabling i386-asm. Add freedoom has a depend to prboom.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 15 21:05:24 2011 +0000 (2011-03-15)
parents c16b99eee970
children 62789b566436
files prboom/receipt
line diff
     1.1 --- a/prboom/receipt	Tue Mar 15 21:03:13 2011 +0000
     1.2 +++ b/prboom/receipt	Tue Mar 15 21:05:24 2011 +0000
     1.3 @@ -5,7 +5,7 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="PrBoom is the culmination of years of work by various people and projects on the Doom source code."
     1.6  MAINTAINER="mallory@sweetpeople.org"
     1.7 -DEPENDS="libsdl libsdl-mixer libsdl-net libpng mesa libglu-mesa"
     1.8 +DEPENDS="libsdl libsdl-mixer libsdl-net libpng mesa libglu-mesa freedoom"
     1.9  SUGGESTED="nvidia"
    1.10  BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 @@ -20,6 +20,7 @@
    1.13  		--prefix=/usr \
    1.14  		--infodir=/usr/share/info \
    1.15  		--mandir=/usr/share/man \
    1.16 +		--disable-i386-asm \
    1.17  		$CONFIGURE_ARGS &&
    1.18  	make -j 4 && make DESTDIR=$PWD/_pkg install
    1.19  }
    1.20 @@ -36,14 +37,9 @@
    1.21  	echo "Copying package files"
    1.22  	cp -a $_pkg/usr/games $fs/usr
    1.23  	cp -a $_pkg/usr/share/games $fs/usr/share
    1.24 -	
    1.25 -	echo "Downloading game data : doom1.wad"
    1.26 -	[ -f $SOURCES_REPOSITORY/doom1.wad ] ||
    1.27 -	wget http://mirror.slitaz.org/sources/packages/d/doom1.wad -P $SOURCES_REPOSITORY
    1.28 -	cp $SOURCES_REPOSITORY/doom1.wad $fs/usr/share/games/doom
    1.29  
    1.30  	echo "Copying metadata"
    1.31 -	cp stuff/prboom.desktop $fs/usr/share/applications
    1.32 -	cp stuff/doom.png $fs/usr/share/pixmaps	
    1.33 +	cp $stuff/prboom.desktop $fs/usr/share/applications
    1.34 +	cp $stuff/doom.png $fs/usr/share/pixmaps	
    1.35  }
    1.36