From: Jose V Beneyto Date: Thu, 28 Jan 2010 09:33:51 +0000 (+0100) Subject: prboom: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=86a41d5f3a425202edaa9bb8cfe66f20e6c66097;p=attic%2Fports%2Fgames-cross.git prboom: initial import (verified compilation) --- diff --git a/prboom/.footprint b/prboom/.footprint new file mode 100644 index 0000000..46116b1 --- /dev/null +++ b/prboom/.footprint @@ -0,0 +1,13 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/prboom +-rwxr-xr-x root/root usr/bin/prboom-game-server +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man5/ +-rw-r--r-- root/root usr/man/man5/boom.cfg.5.gz +drwxr-xr-x root/root usr/man/man6/ +-rw-r--r-- root/root usr/man/man6/prboom-game-server.6.gz +-rw-r--r-- root/root usr/man/man6/prboom.6.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/prboom/ +-rw-r--r-- root/root usr/share/prboom/prboom.wad diff --git a/prboom/.md5sum b/prboom/.md5sum new file mode 100644 index 0000000..a1e8042 --- /dev/null +++ b/prboom/.md5sum @@ -0,0 +1 @@ +a8a15f61fa2626ab98051ab2703378c4 prboom-2.5.0.tar.gz diff --git a/prboom/Pkgfile b/prboom/Pkgfile new file mode 100644 index 0000000..657241d --- /dev/null +++ b/prboom/Pkgfile @@ -0,0 +1,45 @@ +# Description: Pure Doom port with the highest compatibility to the major Doom versions +# URL: http://prboom.sourceforge.net/ +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: sdl_net + + +name=prboom +version=2.5.0 +release=1 +source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz) + +build() { + cd $name-$version + + export SDL_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT" + export SDL_LDLIBS="-L$CLFS/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_net" + + echo "ac_cv_type_uid_t=yes" > config.cache + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --mandir=/usr/man \ + --with-waddir=/usr/share/$name \ + --disable-debugger \ + --disable-i386-asm \ + --disable-gl \ + --disable-sdltest \ + --x-libraries=/usr/lib \ + --with-sdl-prefix=$CLFS/usr \ + --without-mixer \ + --cache-file=config.cache + + find . -type f -name Makefile -exec \ + sed -i {} \ + -e "s|SDL_CFLAGS = .*|SDL_CFLAGS = $SDL_CFLAGS|" \ + -e "s|SDL_CFLAGS = .*|SDL_CFLAGS = $SDL_CFLAGS|" \ + -e "s|-I/usr|-I$CLFS/usr|" \; + + make + make DESTDIR=$PKG install + + mv $PKG/usr/{games,bin} + rm -rf $PKG/usr/share/doc +}