wok-next view prboom/receipt @ rev 21097
gtk-girepository: forgot to remove HOST_ARCH="any"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jan 01 13:46:24 2019 +0200 (2019-01-01) |
parents | 5669e8b3be70 |
children |
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="sdl-dev sdl-mixer-dev sdl-net-dev mesa-dev glu \
15 libpng-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="sdl sdl-mixer sdl-net libpng mesa glu freedoom"
41 SUGGESTED="nvidia"
42 }