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

Up lirc (0.9.4d)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 03 11:10:36 2017 +0100 (2017-11-03)
parents 17e313b5b9c1
children 14cdf41afa35
line source
1 # SliTaz package receipt.
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libsdl libsdl-mixer libsdl-net libsamplerate"
14 BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make $MAKEFLAGS
24 cook_pick_manpages man/*.5 man/*.6
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share/games/doom
31 cp $src/src/chocolate-doom $fs/usr/bin
32 }