wok annotate prboom/receipt @ rev 15986
elinks: remove deps on X and add elinks-small
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 02 01:30:05 2014 +0100 (2014-03-02) |
parents | 6b09507225ec |
children | 5fcb050fa8cd |
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@15002 | 8 LICENSE="GPL2" |
jozee@5019 | 9 SUGGESTED="nvidia" |
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 |
pascal@13796 | 14 DEPENDS="libsdl libsdl-mixer libsdl-net libpng mesa libglu-mesa freedoom" |
pascal@13796 | 15 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mesa-dev libglu-mesa" |
pascal@13796 | 16 |
mallory@2693 | 17 # Rules to configure and make the package. |
mallory@2693 | 18 compile_rules() |
mallory@2693 | 19 { |
mallory@2693 | 20 cd $src |
mallory@2693 | 21 ./configure \ |
mallory@2693 | 22 --prefix=/usr \ |
mallory@2693 | 23 --infodir=/usr/share/info \ |
mallory@2693 | 24 --mandir=/usr/share/man \ |
slaxemulator@9278 | 25 --disable-i386-asm \ |
mallory@2693 | 26 $CONFIGURE_ARGS && |
pascal@13796 | 27 make $MAKEFLAGS && make DESTDIR=$DESTDIR install |
mallory@2693 | 28 } |
mallory@2693 | 29 |
mallory@2693 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2693 | 31 genpkg_rules() |
mallory@2693 | 32 { |
mallory@2716 | 33 echo "Creating package tree" |
mallory@2716 | 34 mkdir -p $fs/usr/games \ |
mallory@2716 | 35 $fs/usr/share/games \ |
mallory@2716 | 36 $fs/usr/share/applications \ |
mallory@2716 | 37 $fs/usr/share/pixmaps |
mallory@2716 | 38 |
mallory@2716 | 39 echo "Copying package files" |
pascal@13796 | 40 cp -a $install/usr/games $fs/usr |
pascal@13796 | 41 cp -a $install/usr/share/games $fs/usr/share |
mallory@2693 | 42 } |