wok-4.x view chocolate-doom/receipt @ rev 6220
Up: chocolate-doom to 1.4.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 11 17:30:15 2010 +0000 (2010-09-11) |
parents | 7ea88aca3c62 |
children | 8e4c74abdf74 |
line source
1 # SliTaz package receipt.
3 PACKAGE="chocolate-doom"
4 VERSION="1.4.0"
5 CATEGORY="games"
6 SHORT_DESC="Doom source port as close as possible to vanilla Doom."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://$PACKAGE.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="libsdl libsdl-mixer libsdl-net libsamplerate"
12 BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make -j 4
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/share/games/doom
27 cp $src/src/chocolate-doom $fs/usr/bin
28 }