wok-current annotate chocolate-doom/receipt @ rev 5802
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 17:47:11 2010 +0200 (2010-07-11) |
parents | 39011a13b555 |
children | 659c4dd2d2a7 |
rev | line source |
---|---|
pascal@3619 | 1 # SliTaz package receipt. |
pascal@3619 | 2 |
pascal@3619 | 3 PACKAGE="chocolate-doom" |
pascal@3619 | 4 VERSION="1.2.1" |
pascal@3619 | 5 CATEGORY="games" |
pascal@3619 | 6 SHORT_DESC="Doom source port as close as possible to vanilla Doom." |
pascal@3619 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3619 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3619 | 9 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@3619 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4999 | 11 DEPENDS="libsdl libsdl-mixer libsdl-net libsamplerate" |
pascal@3619 | 12 BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev" |
pascal@3619 | 13 |
pascal@3619 | 14 # Rules to configure and make the package. |
pascal@3619 | 15 compile_rules() |
pascal@3619 | 16 { |
pascal@3619 | 17 cd $src |
pascal@3619 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@3619 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@5802 | 20 make -j 4 |
pascal@3619 | 21 } |
pascal@3619 | 22 |
pascal@3619 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3619 | 24 genpkg_rules() |
pascal@3619 | 25 { |
pascal@3619 | 26 mkdir -p $fs/usr/bin $fs/usr/share/games/doom |
pascal@3619 | 27 cp $src/src/chocolate-doom $fs/usr/bin |
pascal@3619 | 28 } |
pascal@3619 | 29 |