# HG changeset patch # User Pascal Bellard # Date 1246381104 -7200 # Node ID 10dc77ee3ab649ec4d2c911ed2e3fb789d96c2b7 # Parent 84b5d08255f21aede00c313e264f09c6043cd397 Add chocolate-doom diff -r 84b5d08255f2 -r 10dc77ee3ab6 chocolate-doom/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/chocolate-doom/receipt Tue Jun 30 18:58:24 2009 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="chocolate-doom" +VERSION="1.2.1" +CATEGORY="games" +SHORT_DESC="Doom source port as close as possible to vanilla Doom." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://$PACKAGE.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +DEPENDS="libsdl libsdl-mixer libsdl-net" +BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS && + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/share/games/doom + cp $src/src/chocolate-doom $fs/usr/bin +} +