wok view prboom/receipt @ rev 2705

fix: consonance BUILD_DEPENDS
author Rohit Joshi <jozee@slitaz.org>
date Wed Apr 22 16:32:38 2009 +0000 (2009-04-22)
parents
children 1eec1672606e
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"
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 mkdir -p $fs/usr/games $fs/usr/share/games
30 cp -a $_pkg/usr/games $fs/usr
31 cp -a $_pkg/usr/share/games $fs/usr/share
32 cp stuff/doom1.wad $fs/usr/share/games/doom
33 }