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

Up lz4 (1.9.1 - 10/20% faster), tazlito (515)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 23 11:17:48 2019 +0200 (2019-05-23)
parents 17e313b5b9c1
children 18d5c324cc42
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 WEB_SITE="http://$PACKAGE.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make $MAKEFLAGS
24 cook_pick_manpages man/*.5 man/*.6
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share/games/doom
31 cp $src/src/chocolate-doom $fs/usr/bin
32 }