2006-10-10 15:03:02 +00:00
|
|
|
# Description: A 3D recreation of the classic DOS game Scorched Earth
|
2006-02-23 15:26:10 +00:00
|
|
|
# URL: http://www.scorched3d.co.uk/
|
2006-10-10 15:03:02 +00:00
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot nu
|
2008-01-11 19:04:52 -06:00
|
|
|
# Depends on: sdl_mixer, sdl_net, wxgtk, freealut, fftw
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=scorched3d
|
2008-01-11 19:04:52 -06:00
|
|
|
version=41.1
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2006-11-13 09:19:15 -06:00
|
|
|
source=(http://dl.sourceforge.net/$name/Scorched3D-$version-src.tar.gz \
|
2008-01-11 19:04:52 -06:00
|
|
|
$name-$version-gljpg.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd scorched
|
2008-01-11 19:04:52 -06:00
|
|
|
patch -i $SRC/$name-$version-gljpg.patch src/GLEXT/GLJpg.cpp
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure --prefix=/usr \
|
2006-10-10 15:03:02 +00:00
|
|
|
--datadir=/usr/share/$name
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share/$name/documentation
|
|
|
|
}
|