wok-6.x view prboom/receipt @ rev 4580

Add: clisp (thanks pankso)
author Paul Issott <paul@slitaz.org>
date Wed Dec 09 21:09:39 2009 +0000 (2009-12-09)
parents 3dce3a64acf3
children f3327707164a
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 }