wok-current view prboom/receipt @ rev 19197
Up firefox-official(47.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 07 03:43:06 2016 +0300 (2016-06-07) |
parents | 7896f0694ef6 |
children | 080c1dff8494 |
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 LICENSE="GPL2"
9 SUGGESTED="nvidia"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://prboom.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libsdl libsdl-mixer libsdl-net libpng mesa libglu-mesa freedoom"
15 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mesa-dev libglu-mesa \
16 libpng-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --disable-i386-asm \
26 $CONFIGURE_ARGS &&
27 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 echo "Creating package tree"
34 mkdir -p $fs/usr/games \
35 $fs/usr/share/games \
36 $fs/usr/share/applications \
37 $fs/usr/share/pixmaps
39 echo "Copying package files"
40 cp -a $install/usr/games $fs/usr
41 cp -a $install/usr/share/games $fs/usr/share
42 }