wok-next view chocolate-doom/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents 42e0165c64b9
children d5aab818505e
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="http://$PACKAGE.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libsdl libsdl-mixer libsdl-net libsamplerate"
15 BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev libsamplerate-dev"
17 compile_rules() {
18 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 mkdir -p $install/usr/bin $install/usr/share/games/doom
27 cp $src/src/chocolate-doom $install/usr/bin
29 cook_pick_manpages man/*.5 man/*.6
30 }
32 genpkg_rules() {
33 copy @std
34 }