wok annotate prboom/receipt @ rev 20024

python-pyflakes: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 16 10:31:45 2017 +0200 (2017-08-16)
parents 7896f0694ef6
children 080c1dff8494
rev   line source
mallory@2693 1 # SliTaz package receipt.
mallory@2693 2
mallory@2693 3 PACKAGE="prboom"
mallory@2693 4 VERSION="2.5.0"
mallory@2693 5 CATEGORY="games"
mallory@2693 6 SHORT_DESC="PrBoom is the culmination of years of work by various people and projects on the Doom source code."
mallory@2693 7 MAINTAINER="mallory@sweetpeople.org"
pascal@15002 8 LICENSE="GPL2"
jozee@5019 9 SUGGESTED="nvidia"
mallory@2693 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
mallory@2693 11 WEB_SITE="http://prboom.sourceforge.net/"
mallory@2693 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
mallory@2693 13
pascal@13796 14 DEPENDS="libsdl libsdl-mixer libsdl-net libpng mesa libglu-mesa freedoom"
pascal@18413 15 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mesa-dev libglu-mesa \
pascal@18413 16 libpng-dev"
pascal@13796 17
mallory@2693 18 # Rules to configure and make the package.
mallory@2693 19 compile_rules()
mallory@2693 20 {
mallory@2693 21 ./configure \
mallory@2693 22 --prefix=/usr \
mallory@2693 23 --infodir=/usr/share/info \
mallory@2693 24 --mandir=/usr/share/man \
slaxemulator@9278 25 --disable-i386-asm \
mallory@2693 26 $CONFIGURE_ARGS &&
pascal@13796 27 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
mallory@2693 28 }
mallory@2693 29
mallory@2693 30 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2693 31 genpkg_rules()
mallory@2693 32 {
mallory@2716 33 echo "Creating package tree"
mallory@2716 34 mkdir -p $fs/usr/games \
mallory@2716 35 $fs/usr/share/games \
mallory@2716 36 $fs/usr/share/applications \
mallory@2716 37 $fs/usr/share/pixmaps
mallory@2716 38
mallory@2716 39 echo "Copying package files"
pascal@13796 40 cp -a $install/usr/games $fs/usr
pascal@13796 41 cp -a $install/usr/share/games $fs/usr/share
mallory@2693 42 }