wok view prboom/receipt @ rev 14190
Up: emacs (24.3)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 12 23:02:05 2013 +0100 (2013-03-12) |
parents | 9c762d56b413 |
children | 7896f0694ef6 |
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 SUGGESTED="nvidia"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://prboom.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libsdl libsdl-mixer libsdl-net libpng mesa libglu-mesa freedoom"
14 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mesa-dev libglu-mesa"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --disable-i386-asm \
25 $CONFIGURE_ARGS &&
26 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 echo "Creating package tree"
33 mkdir -p $fs/usr/games \
34 $fs/usr/share/games \
35 $fs/usr/share/applications \
36 $fs/usr/share/pixmaps
38 echo "Copying package files"
39 cp -a $install/usr/games $fs/usr
40 cp -a $install/usr/share/games $fs/usr/share
41 }