wok view prboom/receipt @ rev 11653

Up apache (2.2.22, security fixes)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 11 10:02:20 2012 +0100 (2012-02-11)
parents 2d211976ee9d
children 9c762d56b413
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 mesa-dev libglu-mesa"
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 $MAKEFLAGS && 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 }