wok-6.x view chocolate-doom/receipt @ rev 23591
python-pysol-cards: added build dependency
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 10:35:39 2020 +0100 (2020-04-08) |
parents | 42e0165c64b9 |
children | 5baa9d957a85 |
line source
1 # SliTaz package receipt.
3 PACKAGE="chocolate-doom"
4 VERSION="3.0.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="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 }