diff options
author | Florian Franzmann | 2011-01-08 20:23:06 +0100 |
---|---|---|
committer | Florian Franzmann | 2011-01-08 20:23:06 +0100 |
commit | 3a43275711ecbcabe01bbf5f69c585ae892fcb41 (patch) | |
tree | 31ed377108dff8bf4b9d023e49c1a15f348539ee /gnustep-apps | |
parent | b65479d69846eff4d2d108b928b408a89270b177 (diff) |
gnustep-apps/gnustep-oolite: added optional support for the developer
version
Diffstat (limited to 'gnustep-apps')
-rwxr-xr-x | gnustep-apps/gnustep-oolite/BUILD | 7 | ||||
-rwxr-xr-x | gnustep-apps/gnustep-oolite/CONFIGURE | 1 | ||||
-rwxr-xr-x | gnustep-apps/gnustep-oolite/DEPENDS | 9 | ||||
-rwxr-xr-x | gnustep-apps/gnustep-oolite/DETAILS | 13 | ||||
-rw-r--r-- | gnustep-apps/gnustep-oolite/HISTORY | 4 | ||||
-rwxr-xr-x | gnustep-apps/gnustep-oolite/PRE_BUILD | 4 |
6 files changed, 32 insertions, 6 deletions
diff --git a/gnustep-apps/gnustep-oolite/BUILD b/gnustep-apps/gnustep-oolite/BUILD index 51d9513e3e..3cbeadf967 100755 --- a/gnustep-apps/gnustep-oolite/BUILD +++ b/gnustep-apps/gnustep-oolite/BUILD @@ -1 +1,6 @@ -default_build debug=no +if [[ $OOLITE_DEVEL == "y" ]]; then + . ${INSTALL_ROOT}/usr/share/GNUstep/Makefiles/GNUstep.sh && + make -f Makefile release || return 1 +else + default_build debug=no || return 1 +fi diff --git a/gnustep-apps/gnustep-oolite/CONFIGURE b/gnustep-apps/gnustep-oolite/CONFIGURE new file mode 100755 index 0000000000..94f11139b0 --- /dev/null +++ b/gnustep-apps/gnustep-oolite/CONFIGURE @@ -0,0 +1 @@ +config_query OOLITE_DEVEL "use development branch?" n diff --git a/gnustep-apps/gnustep-oolite/DEPENDS b/gnustep-apps/gnustep-oolite/DEPENDS index 7db3a20ce1..2da08e63a6 100755 --- a/gnustep-apps/gnustep-oolite/DEPENDS +++ b/gnustep-apps/gnustep-oolite/DEPENDS @@ -1,5 +1,10 @@ -depends gnustep-gui && depends sdl && depends sdl_image && depends sdl_mixer && -depends sdl_gfx +depends sdl_gfx && +if [[ ${OOLITE_DEVEL} == "y" ]]; then + depends gnustep-base && + suggest_depends espeak "" "" "support for spoken text" || return 1 +else + depends gnustep-gui || return 1 +fi diff --git a/gnustep-apps/gnustep-oolite/DETAILS b/gnustep-apps/gnustep-oolite/DETAILS index 90f57d6f5a..461db4fe76 100755 --- a/gnustep-apps/gnustep-oolite/DETAILS +++ b/gnustep-apps/gnustep-oolite/DETAILS @@ -1,4 +1,5 @@ SPELL=gnustep-oolite +if [[ ${OOLITE_DEVEL} == "n" ]]; then VERSION=1.65 SOURCE=oolite-$VERSION-src.tar.gz SOURCE2=oolite-$VERSION-data.tar.gz @@ -7,11 +8,19 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/oolite-$VERSION-src SOURCE_URL[1]=ftp://ftp.alioth.net/oolite/${SOURCE} SOURCE2_URL[0]=http://download.berlios.de/oolite-linux/${SOURCE2} SOURCE2_URL[1]=ftp://ftp.alioth.net/oolite/${SOURCE2} - WEB_SITE=http://oolite.aegidian.org/ SOURCE_HASH=sha512:d660e36d3679fadd7bcdb862db62c6d8eebd0bf10f68f17a16d2d83bf3570bee0c678fb9c5446158189f66d358e475c5ef1234b3b875a75091b497979c6d0135 SOURCE2_HASH=sha512:5d3ac8a42b4c0e46cf9a16da1bd8f32ceb730023d3b38fb3830d7031e44dfec92b465e8ae9e5a5815cd86c93540a17fedda324c42a9ebcae402ee412110b072e +else + VERSION=1.74.2 + SOURCE=oolite-dev-source-$VERSION.tar.bz2 +message "${MESSAGE_COLOR}SOURCE=${SOURCE}${DEFAULT_COLOR}" +SOURCE_DIRECTORY=$BUILD_DIRECTORY/oolite-dev-source-$VERSION + SOURCE_URL[0]=http://download.berlios.de/oolite-linux/${SOURCE} + SOURCE_URL[1]=ftp://ftp.alioth.net/oolite/${SOURCE} + SOURCE_HASH=sha512:39a2eeac1bab02c0fd0727d40282dcd0e64bbbaf971c06437b9cdbaa9a2a20498c644a4f59fb8d3d315779bbf55ade1175841179cd7159546302313c84d8ea40 +fi + WEB_SITE=http://oolite.aegidian.org/ LICENSE[0]="Creative Commons" - LICENSE[1]="Creative Commons" ENTERED=20060118 KEYWORDS="gnustep" SHORT="Oolite is a space sim game." diff --git a/gnustep-apps/gnustep-oolite/HISTORY b/gnustep-apps/gnustep-oolite/HISTORY index 366235b4df..3841590f83 100644 --- a/gnustep-apps/gnustep-oolite/HISTORY +++ b/gnustep-apps/gnustep-oolite/HISTORY @@ -1,3 +1,7 @@ +2011-01-08 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de> + * DEPENDS, DETAILS, CONFIGURE, BUILD, INSTALL, PRE_BUILD: + added optional support for the developer version + 2007-04-18 Andraž "ruskie" Levstik <ruskie@mages.ath.cx> * DETAILS: version update * BUILD: added diff --git a/gnustep-apps/gnustep-oolite/PRE_BUILD b/gnustep-apps/gnustep-oolite/PRE_BUILD index 0c43d6818b..0461df462a 100755 --- a/gnustep-apps/gnustep-oolite/PRE_BUILD +++ b/gnustep-apps/gnustep-oolite/PRE_BUILD @@ -1,4 +1,6 @@ default_pre_build && -unpack_file 2 && +if [[ $OOLITE_DEVEL == "n" ]]; then + unpack_file 2 || return 1 +fi && cd $SOURCE_DIRECTORY && sedit 's/shared_obj/obj/g' GNUmakefile.postamble |