2008-03-02 21:12:56 +11:00
|
|
|
# Description: A 3D recreation of the classic DOS game Scorched Earth.
|
|
|
|
# URL: http://www.scorched3d.co.uk/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2008-03-02 21:12:56 +11:00
|
|
|
# Packager: Matt Housh, jaeger at crux dot nu
|
|
|
|
# Depends on: sdl_mixer sdl_net wxgtk freealut fftw
|
|
|
|
|
|
|
|
name=scorched3d
|
2011-09-21 19:31:22 +10:00
|
|
|
version=43.2a
|
2008-03-02 21:12:56 +11:00
|
|
|
release=1
|
2010-11-12 12:03:50 +01:00
|
|
|
source=(http://download.sourceforge.net/scorched3d/Scorched3D-$version-src.tar.gz
|
2010-11-16 23:26:55 +11:00
|
|
|
scorched3d-43.2-openal.patch
|
|
|
|
scorched3d-43.2-misc.patch)
|
2008-03-02 21:12:56 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd scorched
|
|
|
|
|
2010-11-16 23:26:55 +11:00
|
|
|
touch INSTALL NEWS AUTHORS ChangeLog
|
|
|
|
patch -p 1 -i $SRC/scorched3d-43.2-openal.patch
|
|
|
|
patch -p 1 -i $SRC/scorched3d-43.2-misc.patch
|
|
|
|
autoreconf
|
|
|
|
|
2009-01-19 19:26:06 +11:00
|
|
|
./configure \
|
2008-03-02 21:12:56 +11:00
|
|
|
--prefix=/usr \
|
2009-01-19 19:26:06 +11:00
|
|
|
--datadir=/usr/share/scorched3d \
|
|
|
|
--disable-dependency-tracking
|
2008-03-02 21:12:56 +11:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/scorched3d/documentation
|
|
|
|
}
|