wok-next view prboom/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | c0521c689857 |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt.
3 PACKAGE="prboom"
4 VERSION="2.5.0"
5 CATEGORY="games"
6 SHORT_DESC="Culmination of years of work by various people and projects on the Doom source code"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://prboom.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mesa-dev glu \
15 libpng16-dev glu-dev"
17 compile_rules() {
18 sed -i 's|png_error_ptr_||;s|png_infopp_||' src/SDL/i_sshot.c
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 &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 echo "Creating package tree"
32 mkdir -p $fs/usr/games \
33 $fs/usr/share/games \
34 $fs/usr/share/applications \
35 $fs/usr/share/pixmaps
37 echo "Copying package files"
38 cp -a $install/usr/games $fs/usr
39 cp -a $install/usr/share/games $fs/usr/share
40 DEPENDS="libsdl libsdl-mixer libsdl-net libpng16 mesa glu freedoom"
41 SUGGESTED="nvidia"
42 }