wok-next annotate prboom/receipt @ rev 5454
Up cups-pam (1.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 16:51:05 2010 +0200 (2010-05-05) |
parents | f3327707164a |
children | aebcbcedcc6b |
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 DEPENDS="libsdl libsdl-mixer libsdl-net libpng libgl libglu" |
jozee@5019 | 9 SUGGESTED="nvidia" |
pankso@3425 | 10 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev" |
mallory@2693 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@2693 | 12 WEB_SITE="http://prboom.sourceforge.net/" |
mallory@2693 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
mallory@2693 | 14 |
mallory@2693 | 15 # Rules to configure and make the package. |
mallory@2693 | 16 compile_rules() |
mallory@2693 | 17 { |
mallory@2693 | 18 cd $src |
mallory@2693 | 19 ./configure \ |
mallory@2693 | 20 --prefix=/usr \ |
mallory@2693 | 21 --infodir=/usr/share/info \ |
mallory@2693 | 22 --mandir=/usr/share/man \ |
mallory@2693 | 23 $CONFIGURE_ARGS && |
mallory@2693 | 24 make && make DESTDIR=$PWD/_pkg install |
mallory@2693 | 25 } |
mallory@2693 | 26 |
mallory@2693 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2693 | 28 genpkg_rules() |
mallory@2693 | 29 { |
mallory@2716 | 30 echo "Creating package tree" |
mallory@2716 | 31 mkdir -p $fs/usr/games \ |
mallory@2716 | 32 $fs/usr/share/games \ |
mallory@2716 | 33 $fs/usr/share/applications \ |
mallory@2716 | 34 $fs/usr/share/pixmaps |
mallory@2716 | 35 |
mallory@2716 | 36 echo "Copying package files" |
mallory@2693 | 37 cp -a $_pkg/usr/games $fs/usr |
mallory@2716 | 38 cp -a $_pkg/usr/share/games $fs/usr/share |
mallory@2716 | 39 |
mallory@2716 | 40 echo "Downloading game data : doom1.wad" |
mallory@2716 | 41 wget http://people.slitaz.org/~mallory/stuff/prboom/doom1.wad -O $fs/usr/share/games/doom/doom1.wad |
mallory@2716 | 42 |
mallory@2716 | 43 echo "Copying metadata" |
pascal@2736 | 44 cp stuff/prboom.desktop $fs/usr/share/applications |
mallory@2716 | 45 cp stuff/doom.png $fs/usr/share/pixmaps |
mallory@2693 | 46 } |
mallory@2693 | 47 |