wok-current annotate prboom/receipt @ rev 2704
fix:libcdio-dev missing paranoia.pc
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Apr 22 16:20:26 2009 +0000 (2009-04-22) |
parents | |
children | 1eec1672606e |
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" |
mallory@2693 | 8 DEPENDS="libSDL libsdl-mixer libsdl-net" |
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@2693 | 29 mkdir -p $fs/usr/games $fs/usr/share/games |
mallory@2693 | 30 cp -a $_pkg/usr/games $fs/usr |
mallory@2693 | 31 cp -a $_pkg/usr/share/games $fs/usr/share |
mallory@2693 | 32 cp stuff/doom1.wad $fs/usr/share/games/doom |
mallory@2693 | 33 } |
mallory@2693 | 34 |