wok view prboom/receipt @ rev 2935
fotoxx: fix non-standard locales path; add printoxx to SUGGESTED
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu May 07 09:40:45 2009 +0000 (2009-05-07) |
parents | d9e1ced7774b |
children | e8024c01fc47 |
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 libgl libglu"
9 BUILD_DEPENDS="libSDL-dev libsdl-mixer-dev libsdl-net-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://prboom.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 echo "Creating package tree"
30 mkdir -p $fs/usr/games \
31 $fs/usr/share/games \
32 $fs/usr/share/applications \
33 $fs/usr/share/pixmaps
35 echo "Copying package files"
36 cp -a $_pkg/usr/games $fs/usr
37 cp -a $_pkg/usr/share/games $fs/usr/share
39 echo "Downloading game data : doom1.wad"
40 wget http://people.slitaz.org/~mallory/stuff/prboom/doom1.wad -O $fs/usr/share/games/doom/doom1.wad
42 echo "Copying metadata"
43 cp stuff/prboom.desktop $fs/usr/share/applications
44 cp stuff/doom.png $fs/usr/share/pixmaps
45 }