wok-current view chocolate-doom/receipt @ rev 18987

Additional themes for Slitaz GNU/Linux.
author Leonardo Laporte <hackdorte@sapo.pt>
date Thu Mar 17 05:14:19 2016 -0300 (2016-03-17)
parents eb8067417980
children 42e0165c64b9
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libsdl libsdl-mixer libsdl-net libsamplerate"
14 BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make $MAKEFLAGS
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/share/games/doom
30 cp $src/src/chocolate-doom $fs/usr/bin
31 }