wok-current view prboom/receipt @ rev 14198

move to undigest: xorg-xf86-video-sis xorg-xf86-video-savage xorg-xf86-video-r128 xorg-xf86-video-openchrome xorg-xf86-video-mga xorg-xf86-video-mach64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 13 10:16:45 2013 +0100 (2013-03-13)
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 }