wok-current view prboom/receipt @ rev 10419

binutils: Replaced $BUILD_HOST with $HOST_SYSTEM.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 24 13:39:17 2011 +0000 (2011-05-24)
parents 101eedb1efef
children bc84d190c6b2
line source
1 # SliTaz package receipt.
3 PACKAGE="prboom"
4 VERSION="2.5.0"
5 CATEGORY="games"
6 SHORT_DESC="PrBoom is the culmination of years of work by various people and projects on the Doom source code."
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="libsdl libsdl-mixer libsdl-net libpng mesa libglu-mesa freedoom"
9 SUGGESTED="nvidia"
10 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://prboom.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --disable-i386-asm \
24 $CONFIGURE_ARGS &&
25 make -j 4 && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 echo "Creating package tree"
32 mkdir -p $fs/usr/games \
33 $fs/usr/share/games \
34 $fs/usr/share/applications \
35 $fs/usr/share/pixmaps
37 echo "Copying package files"
38 cp -a $_pkg/usr/games $fs/usr
39 cp -a $_pkg/usr/share/games $fs/usr/share
41 echo "Copying metadata"
42 cp $stuff/prboom.desktop $fs/usr/share/applications
43 cp $stuff/doom.png $fs/usr/share/pixmaps
44 }