mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
games/prboom: Added to 12.0 repository
This commit is contained in:
parent
5b9b9c399a
commit
736127208b
4 changed files with 111 additions and 0 deletions
24
games/prboom/README
Normal file
24
games/prboom/README
Normal file
|
@ -0,0 +1,24 @@
|
|||
PrBoom is a modern doom game engine or "doom-port" to play idSoftware's Doom,
|
||||
Doom II, Doom expansion packs and custom "iwads" or mods (It doesn't include
|
||||
the game itself).It aims to be the most stable Doom port with the highest
|
||||
compatibility to the major Doom versions.
|
||||
|
||||
If you don't own any of the Doom games, get the shareware doom1.wad from
|
||||
http://www.libsdl.org/projects/doom/data/doom1.wad.zip or google for it.
|
||||
Remember to rename it to lowercase: mv DOOM1.WAD doom1.wad Then copy
|
||||
doom1.wad to /usr/share/games/doom/
|
||||
|
||||
If you have one or all of the main Doom data files from idSoftware -
|
||||
either doom.wad, doom2.wad, tnt.wad or plutonia.wad from one of the
|
||||
commercial Doom games copy them there too.
|
||||
|
||||
Requirements: sdl (SDL_mixer, SDL_net, all included in the sdl-1.2.*
|
||||
package in slackware/l series)
|
||||
|
||||
Highly recommended: Get the timidity.tar.gz from the SDL_mixer page
|
||||
http://www.libsdl.org/projects/SDL_mixer/timidity/timidity.tar.gz (14M)
|
||||
and extract in /usr/lib/ for the great game music.
|
||||
|
||||
Suggested: Take a look at the docs, man pages or visit BahdKo at
|
||||
http://www.doom2.net to learn how to watch demos, info, files, etc.
|
||||
A great help for newcomers. (You may need a proxy to visit this url)
|
60
games/prboom/prboom.SlackBuild
Normal file
60
games/prboom/prboom.SlackBuild
Normal file
|
@ -0,0 +1,60 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for prboom
|
||||
# Written by mannyslack (quakemanxs@yahoo.com)
|
||||
|
||||
PRGNAM=prboom
|
||||
VERSION=2.4.7
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP || exit 1
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
|
||||
cd $PRGNAM-$VERSION || exit 1
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--enable-gl \
|
||||
|| exit 1
|
||||
# --enable-gl seems to have no effect, any ideas?
|
||||
|
||||
make DESTDIR=$PKG || exit 1
|
||||
make install-strip DESTDIR=$PKG || exit 1
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
rm -f $PKG/usr/info/dir
|
||||
gzip -9 $PKG/usr/info/*.info*
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS COPYING TODO INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
8
games/prboom/prboom.info
Normal file
8
games/prboom/prboom.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="prboom"
|
||||
VERSION="2.4.7"
|
||||
HOMEPAGE="http://prboom.sourceforge.net"
|
||||
DOWNLOAD="http://dl.sourceforge.net/sourceforge/prboom/prboom-2.4.7.tar.gz"
|
||||
MD5SUM="9942f521764d7f89df2218a456da4f02"
|
||||
MAINTAINER="mannyslack"
|
||||
EMAIL="quakemanxs@yahoo.com"
|
||||
APPROVED="BP{k}"
|
19
games/prboom/slack-desc
Normal file
19
games/prboom/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|' on
|
||||
# the right side marks the last column you can put a character in. You must make
|
||||
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
prboom: prboom (a port of the classic fps game Doom by idSoftware)
|
||||
prboom:
|
||||
prboom: Aims to be the most stable Doom port with the highest compatibility
|
||||
prboom: to the major Doom versions. Highres software and nice OpenGL
|
||||
prboom: rendering. Full Boom and most if not all MBF features.
|
||||
prboom:
|
||||
prboom:
|
||||
prboom: Homepage: http://prboom.sourceforge.net
|
||||
prboom:
|
||||
prboom:
|
||||
prboom:
|
Loading…
Reference in a new issue