forked from ports/contrib
28 lines
780 B
Plaintext
28 lines
780 B
Plaintext
# Description: A 3D recreation of the classic DOS game Scorched Earth.
|
|
# URL: http://www.scorched3d.co.uk/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Matt Housh, jaeger at crux dot nu
|
|
# Depends on: sdl_mixer sdl_net wxgtk freealut fftw
|
|
|
|
name=scorched3d
|
|
version=41.3
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/scorched3d/Scorched3D-$version-src.tar.gz
|
|
scorched3d-41.3-gcc43.patch)
|
|
|
|
build() {
|
|
cd scorched
|
|
patch -p 1 -i $SRC/scorched3d-41.3-gcc43.patch
|
|
chmod +x $SRC/scorched/scripts/openal-config
|
|
|
|
OPENAL_CONFIG=$SRC/scorched/scripts/openal-config \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--datadir=/usr/share/scorched3d \
|
|
--disable-dependency-tracking
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/share/scorched3d/documentation
|
|
}
|