From df4c7ac2c040f4d527cb2b59a2d38f943042eb50 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Tue, 19 Jan 2010 12:50:46 +0100 Subject: [PATCH] opentyrian: initial import (verified compilation) --- opentyrian/.footprint | 101 ++++++++++++++++++++++++++++++++++++++++++ opentyrian/.md5sum | 2 + opentyrian/Pkgfile | 39 ++++++++++++++++ 3 files changed, 142 insertions(+) create mode 100644 opentyrian/.footprint create mode 100644 opentyrian/.md5sum create mode 100644 opentyrian/Pkgfile diff --git a/opentyrian/.footprint b/opentyrian/.footprint new file mode 100644 index 0000000..498158c --- /dev/null +++ b/opentyrian/.footprint @@ -0,0 +1,101 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/opentyrian +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/opentyrian/ +drwxr-xr-x root/root usr/share/opentyrian/data/ +-rwxrwxrwx root/root usr/share/opentyrian/data/cubetxt1.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/cubetxt2.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/cubetxt3.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/cubetxt4.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/demo.1 +-rwxrwxrwx root/root usr/share/opentyrian/data/demo.2 +-rwxrwxrwx root/root usr/share/opentyrian/data/demo.3 +-rwxrwxrwx root/root usr/share/opentyrian/data/demo.4 +-rwxrwxrwx root/root usr/share/opentyrian/data/demo.5 +-rwxrwxrwx root/root usr/share/opentyrian/data/dpmi16bi.ovl +-rwxrwxrwx root/root usr/share/opentyrian/data/estsc.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/exitmsg.bin +-rwxrwxrwx root/root usr/share/opentyrian/data/file_id.diz +-rwxrwxrwx root/root usr/share/opentyrian/data/helpme.doc +-rwxrwxrwx root/root usr/share/opentyrian/data/levels1.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/levels2.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/levels3.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/levels4.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/license.doc +-rwxrwxrwx root/root usr/share/opentyrian/data/loudness.awe +-rwxrwxrwx root/root usr/share/opentyrian/data/manual.doc +-rwxrwxrwx root/root usr/share/opentyrian/data/modems.txt +-rwxrwxrwx root/root usr/share/opentyrian/data/music.mus +-rwxrwxrwx root/root usr/share/opentyrian/data/netarena.pcx +-rwxrwxrwx root/root usr/share/opentyrian/data/netfont1.pcx +-rwxrwxrwx root/root usr/share/opentyrian/data/netfont2.pcx +-rwxrwxrwx root/root usr/share/opentyrian/data/netmega.pcx +-rwxrwxrwx root/root usr/share/opentyrian/data/netset.pcx +-rwxrwxrwx root/root usr/share/opentyrian/data/netterm.int +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh#.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh0.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh1.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh2.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh3.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh4.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh5.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh6.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh7.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh8.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh9.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh^.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsha.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshb.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshc.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshd.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshe.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshf.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshg.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshh.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshi.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshj.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshk.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshl.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshm.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshn.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsho.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshp.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshr.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshs.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsht.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshu.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newshv.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/newsh~.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/order.doc +-rwxrwxrwx root/root usr/share/opentyrian/data/order.tfp +-rwxrwxrwx root/root usr/share/opentyrian/data/palette.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/setup.box +-rwxrwxrwx root/root usr/share/opentyrian/data/setup.ini +-rwxrwxrwx root/root usr/share/opentyrian/data/setup.int +-rwxrwxrwx root/root usr/share/opentyrian/data/shapes).dat +-rwxrwxrwx root/root usr/share/opentyrian/data/shapesw.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/shapesx.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/shapesy.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/shapesz.dat +-rwxrwxrwx root/root usr/share/opentyrian/data/shipedit.doc +-rwxrwxrwx root/root usr/share/opentyrian/data/shipedit.pcx +-rwxrwxrwx root/root usr/share/opentyrian/data/tshp2.pcx +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrend.anm +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrian.cdt +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrian.hdt +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrian.ico +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrian.pic +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrian.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrian.snd +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrian1.lvl +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrian2.lvl +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrian3.lvl +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrian4.lvl +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrianc.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/tyrset.pcx +-rwxrwxrwx root/root usr/share/opentyrian/data/user1.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/user2.shp +-rwxrwxrwx root/root usr/share/opentyrian/data/voices.snd +-rwxrwxrwx root/root usr/share/opentyrian/data/voicesc.snd +-rwxr-xr-x root/root usr/share/opentyrian/opentyrian diff --git a/opentyrian/.md5sum b/opentyrian/.md5sum new file mode 100644 index 0000000..ccc4aca --- /dev/null +++ b/opentyrian/.md5sum @@ -0,0 +1,2 @@ +c76ed831d61935cbc5b2de2bff6e76d6 opentyrian-2.1.tar.bz2 +2a3b206a6de25ed4b771af073f8ca904 tyrian21.zip diff --git a/opentyrian/Pkgfile b/opentyrian/Pkgfile new file mode 100644 index 0000000..91c23b4 --- /dev/null +++ b/opentyrian/Pkgfile @@ -0,0 +1,39 @@ +# Description: open-source port of the DOS shoot-em-up Tyrian +# URL: http://code.google.com/p/opentyrian +# Packager: Jose V Beneyto, sepen at crux dot nu +# Maintainer: Jose V Beneyto, sepen at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: sdl_net + +name=opentyrian +version=2.1 +release=1 +source=(http://mikeux.dyndns.org/crux/files/$name-$version.tar.bz2 \ + http://camanis.net/tyrian/tyrian21.zip) + +build() { + cd $name-$version + + sed 's|:=|=|g' -i Makefile + make \ + CC="$CC" CFLAGS="$CFLAGS -fgnu89-inline" STRIP="$STRIP" \ + SDL_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT" \ + SDL_LDLIBS="-L$CLFS/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_net" + + install -d $PKG/usr/{bin,share/$name/data} + install -D -m 0755 $name $PKG/usr/share/$name/$name + + rm -f $SRC/tyrian21/*.exe + mv $SRC/tyrian21/* $PKG/usr/share/$name/data/ + + cat > $PKG/usr/bin/$name << __EOF__ +#!/bin/sh + +cd /usr/share/$name +./$name \$@ +cd - >/dev/null + +# End of file +__EOF__ + chmod +x $PKG/usr/bin/$name +} -- 2.26.2