wok annotate prboom/receipt @ rev 12480
Up: util-linux (2.21.1) no longer util-linux-ng
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 16:19:05 2012 +0200 (2012-04-23) |
parents | 8e4c74abdf74 |
children | 6b09507225ec |
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" |
slaxemulator@9278 | 8 DEPENDS="libsdl libsdl-mixer libsdl-net libpng mesa libglu-mesa freedoom" |
jozee@5019 | 9 SUGGESTED="nvidia" |
pascal@11513 | 10 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mesa-dev libglu-mesa" |
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 \ |
slaxemulator@9278 | 23 --disable-i386-asm \ |
mallory@2693 | 24 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 25 make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install |
mallory@2693 | 26 } |
mallory@2693 | 27 |
mallory@2693 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2693 | 29 genpkg_rules() |
mallory@2693 | 30 { |
mallory@2716 | 31 echo "Creating package tree" |
mallory@2716 | 32 mkdir -p $fs/usr/games \ |
mallory@2716 | 33 $fs/usr/share/games \ |
mallory@2716 | 34 $fs/usr/share/applications \ |
mallory@2716 | 35 $fs/usr/share/pixmaps |
mallory@2716 | 36 |
mallory@2716 | 37 echo "Copying package files" |
mallory@2693 | 38 cp -a $_pkg/usr/games $fs/usr |
mallory@2716 | 39 cp -a $_pkg/usr/share/games $fs/usr/share |
mallory@2693 | 40 } |
mallory@2693 | 41 |