wok view chocolate-doom/receipt @ rev 24033

updated dialog-dev (1.3_20190211 -> 1.3_20210324)
author Hans-G?nter Theisgen
date Wed Apr 07 15:56:56 2021 +0100 (2021-04-07)
parents 18d5c324cc42
children 2a0479881723
line source
1 # SliTaz package receipt.
3 PACKAGE="chocolate-doom"
4 VERSION="3.0.1"
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="https://chocolate-doom.org/wiki/index.php/Chocolate_Doom"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://chocolate-doom.org/downloads/$VERSION/$TARBALL"
14 DEPENDS="libsamplerate libsdl2 libsdl2-mixer libsdl2-net"
15 BUILD_DEPENDS="libsdl2-dev libsdl2-mixer-dev libsdl2-net-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make $MAKEFLAGS
29 cook_pick_manpages man/*.5 man/*.6
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 mkdir -p $fs/usr/share/games/doom
38 cp $src/src/chocolate-doom $fs/usr/bin
39 }