wok-current annotate prboom/receipt @ rev 14198

move to undigest: xorg-xf86-video-sis xorg-xf86-video-savage xorg-xf86-video-r128 xorg-xf86-video-openchrome xorg-xf86-video-mga xorg-xf86-video-mach64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 13 10:16:45 2013 +0100 (2013-03-13)
parents 9c762d56b413
children 7896f0694ef6
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"
jozee@5019 8 SUGGESTED="nvidia"
mallory@2693 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
mallory@2693 10 WEB_SITE="http://prboom.sourceforge.net/"
mallory@2693 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
mallory@2693 12
pascal@13796 13 DEPENDS="libsdl libsdl-mixer libsdl-net libpng mesa libglu-mesa freedoom"
pascal@13796 14 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mesa-dev libglu-mesa"
pascal@13796 15
mallory@2693 16 # Rules to configure and make the package.
mallory@2693 17 compile_rules()
mallory@2693 18 {
mallory@2693 19 cd $src
mallory@2693 20 ./configure \
mallory@2693 21 --prefix=/usr \
mallory@2693 22 --infodir=/usr/share/info \
mallory@2693 23 --mandir=/usr/share/man \
slaxemulator@9278 24 --disable-i386-asm \
mallory@2693 25 $CONFIGURE_ARGS &&
pascal@13796 26 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
mallory@2693 27 }
mallory@2693 28
mallory@2693 29 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2693 30 genpkg_rules()
mallory@2693 31 {
mallory@2716 32 echo "Creating package tree"
mallory@2716 33 mkdir -p $fs/usr/games \
mallory@2716 34 $fs/usr/share/games \
mallory@2716 35 $fs/usr/share/applications \
mallory@2716 36 $fs/usr/share/pixmaps
mallory@2716 37
mallory@2716 38 echo "Copying package files"
pascal@13796 39 cp -a $install/usr/games $fs/usr
pascal@13796 40 cp -a $install/usr/share/games $fs/usr/share
mallory@2693 41 }