wok-current rev 3619

Add chocolate-doom
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 30 18:58:24 2009 +0200 (2009-06-30)
parents 84b5d08255f2
children 6f03da3f17c9
files chocolate-doom/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/chocolate-doom/receipt	Tue Jun 30 18:58:24 2009 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="chocolate-doom"
     1.7 +VERSION="1.2.1"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Doom source port as close as possible to vanilla Doom."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://$PACKAGE.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +DEPENDS="libsdl libsdl-mixer libsdl-net"
    1.15 +BUILD_DEPENDS="libsdl-mixer-dev  libsdl-net-dev libsdl-dev"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.23 +	make
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/bin $fs/usr/share/games/doom
    1.30 +	cp $src/src/chocolate-doom $fs/usr/bin
    1.31 +}
    1.32 +