wok-current view chocolate-doom/receipt @ rev 23094
updated libpri and libpri-dev (1.4.11.1 -> 1.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 11 17:02:47 2020 +0100 (2020-03-11) |
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 }