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

Up: pixman (0.25.2) + clean receipt
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 24 23:23:22 2012 +0200 (2012-04-24)
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 }