Browse Source

* added dangerdeep build script (by rconstruct).

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21355 10447126-35f2-4685-b0cf-6dd780d3921f
early
Minto van der Sluis 18 years ago
parent
commit
be58f5bd42
  1. 35
      wip/dangerdeep/dangerdeep.conf
  2. 16
      wip/dangerdeep/dangerdeep.desc

35
wip/dangerdeep/dangerdeep.conf

@ -0,0 +1,35 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../dangerdeep/dangerdeep.conf
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
dftd_custmain() {
# Replace hardcoded paths with configured ones.
sed -i -e 's,/usr/X11R6/lib,'$(pkgprefix libdir xorg-server)',g' \
-e 's,/usr/include/GL,'$(pkgprefix includedir xorg-server)'/GL,g' \
-e 's,/usr/lib,'$(pkgprefix libdir fftw3)',g' SConstruct
# Start building and tell the builder where the app should
# be installed.
var_append sconsopt ' ' "installbindir=$root/$prefix/games \
datadir=$root/$datadir/games/$pkg version=$ver"
scons devel=1 $sconsopt
# Make sure to install datafiles as well.
cp build/linux/dangerdeep $root/$prefix/games/ -fr --reply=yes
unzip `match_source_file -p *.zip` && cp data \
$root/$datadir/games/$pkg -fr --reply=yes
}
# Scons builds are not yet properly supported so we have to do it
# all ourselves.
custmain="dftd_custmain"

16
wip/dangerdeep/dangerdeep.desc

@ -12,16 +12,18 @@
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A WW2 German submarine simulation
[T] Danger from the deep (aka dangerdeep) is a WW2 German submarine
[T] simulation. It should be portable to operating systems or platforms
[T] that use SDL/OpenGL. This game is planned as a tactical simulation,
[T] and will be as realistic as time and knowledge of physics allows.
[I] A WW2 German uboat simulation
[T] Danger from the Deep (aka dangerdeep) is a WW2 German uboat simulation,
[T] focused in historical and technical realism. It should be portable to
[T] operating systems or platforms that use SDL/OpenGL. This game is planned as
[T] a tactical simulation and will be as realistic as time allows.
[U] http://dangerdeep.sourceforge.net
[A] thorsten_jordan <trb7@trb.net>
[A] Thorsten Jordan <thorsten_jordan@gmx.de>
[A] Luis Barrancos <rconstruct@mail.telepac.pt>
[M] The OpenSDE Community <list@opensde.org>
[C] extra/game
@ -29,7 +31,7 @@
[L] GPL
[S] Alpha
[V] 0.3.0
[P] O -----5---9 800.000
[P] O -----5---9 861.000
[D] 1762615643 dangerdeep-0.3.0.tar.gz http://dl.sourceforge.net/dangerdeep/
[D] 1784621464 dangerdeep-data-0.3.0.zip http://dl.sourceforge.net/dangerdeep/

Loading…
Cancel
Save