summaryrefslogtreecommitdiff
path: root/scorched3d/Pkgfile
blob: 751e05df491d8ebea68c4a3fc63d1be55efad49d (plain)
    1 # Description: A 3D recreation of the classic DOS game Scorched Earth.
    2 # URL: http://www.scorched3d.co.uk/
    3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
    4 # Packager: Matt Housh, jaeger at crux dot nu
    5 # Depends on: sdl_mixer sdl_net wxgtk freealut fftw
    6 
    7 name=scorched3d
    8 version=41.3
    9 release=1
   10 source=(http://downloads.sourceforge.net/scorched3d/Scorched3D-$version-src.tar.gz
   11 	scorched3d-41.3-gcc43.patch)
   12 
   13 build() {
   14 	cd scorched
   15 	patch -p 1 -i $SRC/scorched3d-41.3-gcc43.patch
   16 	chmod +x $SRC/scorched/scripts/openal-config
   17 
   18 	OPENAL_CONFIG=$SRC/scorched/scripts/openal-config \
   19 	./configure \
   20 		--prefix=/usr \
   21 		--datadir=/usr/share/scorched3d \
   22 		--disable-dependency-tracking
   23 
   24 	make
   25 	make DESTDIR=$PKG install
   26 	rm -r $PKG/usr/share/scorched3d/documentation
   27 }

Generated by cgit