wok-current view prboom/receipt @ rev 12808

Up: vala (0.16.0)
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 19 15:18:38 2012 +0200 (2012-05-19)
parents 8e4c74abdf74
children 6b09507225ec
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
40 }