wok-current annotate prboom/receipt @ rev 11850
Up libcrypto (1.0.0g)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 09:12:19 2012 +0100 (2012-02-27) |
parents | 2d211976ee9d |
children | 9c762d56b413 |
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@2716 | 40 |
mallory@2716 | 41 echo "Copying metadata" |
slaxemulator@9278 | 42 cp $stuff/prboom.desktop $fs/usr/share/applications |
slaxemulator@9278 | 43 cp $stuff/doom.png $fs/usr/share/pixmaps |
mallory@2693 | 44 } |
mallory@2693 | 45 |