wok-6.x annotate prboom/receipt @ rev 3121

Add gxine (GTK gui for xine)
author Rohit Joshi <jozee@slitaz.org>
date Mon May 18 19:09:23 2009 +0000 (2009-05-18)
parents d9e1ced7774b
children e8024c01fc47
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@2844 8 DEPENDS="libSDL libsdl-mixer libsdl-net libpng libgl libglu"
mallory@2693 9 BUILD_DEPENDS="libSDL-dev libsdl-mixer-dev libsdl-net-dev"
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
mallory@2693 14 # Rules to configure and make the package.
mallory@2693 15 compile_rules()
mallory@2693 16 {
mallory@2693 17 cd $src
mallory@2693 18 ./configure \
mallory@2693 19 --prefix=/usr \
mallory@2693 20 --infodir=/usr/share/info \
mallory@2693 21 --mandir=/usr/share/man \
mallory@2693 22 $CONFIGURE_ARGS &&
mallory@2693 23 make && make DESTDIR=$PWD/_pkg install
mallory@2693 24 }
mallory@2693 25
mallory@2693 26 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2693 27 genpkg_rules()
mallory@2693 28 {
mallory@2716 29 echo "Creating package tree"
mallory@2716 30 mkdir -p $fs/usr/games \
mallory@2716 31 $fs/usr/share/games \
mallory@2716 32 $fs/usr/share/applications \
mallory@2716 33 $fs/usr/share/pixmaps
mallory@2716 34
mallory@2716 35 echo "Copying package files"
mallory@2693 36 cp -a $_pkg/usr/games $fs/usr
mallory@2716 37 cp -a $_pkg/usr/share/games $fs/usr/share
mallory@2716 38
mallory@2716 39 echo "Downloading game data : doom1.wad"
mallory@2716 40 wget http://people.slitaz.org/~mallory/stuff/prboom/doom1.wad -O $fs/usr/share/games/doom/doom1.wad
mallory@2716 41
mallory@2716 42 echo "Copying metadata"
pascal@2736 43 cp stuff/prboom.desktop $fs/usr/share/applications
mallory@2716 44 cp stuff/doom.png $fs/usr/share/pixmaps
mallory@2693 45 }
mallory@2693 46