wok-6.x view chocolate-doom/receipt @ rev 12766

ecm: Sync with wok-tank. Add ecm-extras.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 12 11:12:53 2012 +0000 (2012-05-12)
parents 659c4dd2d2a7
children 3b1a2605b677
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 $MAKEFLAGS
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 }