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

Up: firefox-langpack-it (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 17 16:29:59 2013 +0100 (2013-11-17)
parents 8e4c74abdf74
children eb8067417980
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 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make $MAKEFLAGS
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share/games/doom
28 cp $src/src/chocolate-doom $fs/usr/bin
29 }