wok-next view prboom/receipt @ rev 20474

Tiny edits... (again)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 10 17:39:42 2018 +0200 (2018-03-10)
parents 8907e670e716
children c0521c689857
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 libpng16 mesa libglu-mesa freedoom"
15 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mesa-dev libglu-mesa \
16 libpng16-dev libglu-mesa-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|png_error_ptr_||;s|png_infopp_||' src/SDL/i_sshot.c
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --disable-i386-asm \
27 $CONFIGURE_ARGS &&
28 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 echo "Creating package tree"
35 mkdir -p $fs/usr/games \
36 $fs/usr/share/games \
37 $fs/usr/share/applications \
38 $fs/usr/share/pixmaps
40 echo "Copying package files"
41 cp -a $install/usr/games $fs/usr
42 cp -a $install/usr/share/games $fs/usr/share
43 }