wok-next view chocolate-doom/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 14cdf41afa35 |
children | 0f2575775b2d |
line source
1 # SliTaz package receipt v2.
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="https://www.chocolate-doom.org/wiki/index.php/Chocolate_Doom"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev libsamplerate-dev"
16 compile_rules() {
17 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make $MAKEFLAGS || return 1
26 install -Dm755 src/chocolate-doom $install/usr/bin/chocolate-doom
28 cook_pick_manpages man/*.5 man/*.6
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="libsdl libsdl-mixer libsdl-net libsamplerate"
34 }