Package: boswars Version: 2.8 Revision: 1 Description: Futuristic real time strategy game License: GPL Maintainer: Hanspeter Niederstrasser Depends: << libogg-shlibs, libpng16-shlibs, libtheora0-shlibs, libvorbis0-shlibs, lua51-shlibs, sdl-shlibs << BuildDepends: << fink (>= 0.34.0), libogg, libpng16, libtheora0, libvorbis0, lua51-dev, python310, sdl << Source: https://www.boswars.org/dist/releases/boswars-%v-src.tar.gz Source-Checksum: SHA256(5185206990bf6765c7a5d3802ce6e6048a1087cf4c307b099a5691a3eec6b86a) PatchFile: %n.patch PatchFile-MD5: 40762b488f9b01162258afb343366152 PatchScript: << %{default_script} #perl -pi -e 's|installdatadir|datadir|g' make.py echo "#! /bin/sh" > boswars-launcher echo "PREFIX=%p" >> boswars-launcher echo "%p/lib/%n/boswars-engine -d \$PREFIX/share/boswars/" >> boswars-launcher << GCC: 4.0 SetCFLAGS: -MD NoSetMAKEFLAGS: true CompileScript: << %p/bin/python3.10 ./make.py $MAKEFLAGS release cflags="$CFLAGS $CPPFLAGS" ldflags=$LDFLAGS fink-package-precedence --depfile-ext='\.d' . << InstallScript: << #!/bin/bash -ev install -d -m 755 %i/bin install -d -m 755 %i/lib/%n install -d -m 755 %i/share/%n #%p/bin/python3.10 ./make.py $MAKEFLAGS install cflags="$CFLAGS $CPPFLAGS -DDEFAULT_DATA_PATH=%p/share/boswars" ldflags=$LDFLAGS bindir=%i/bin datadir=%i/share/boswars for i in {campaigns,graphics,intro,languages,maps,patches,scripts,sounds,units} ; do /bin/cp -r $i %i/share/%n/$i done /usr/bin/install -s -m 755 fbuild/release/boswars %i/lib/%n/boswars-engine /usr/bin/install -m 755 boswars-launcher %i/bin/boswars << DocFiles: doc/* CHANGELOG COPYRIGHT.txt LICENSE.txt README.txt Homepage: https://www.boswars.org/ DescDetail: << Bos Wars is a futuristic real-time strategy game featuring a dynamic rate-based economy. Resources are continuously produced while also being consumed by creating buildings and training new units. Bos Wars aims to create a completely original and fun open source RTS game. << DescPort: << * upstream commit to get rid of os.stat_float_times 5cb645f8c55b536f0027314aac9216a200315708 * make.py rebuilds everything during install phase, so just copy files over <<