wok view chocolate-doom/receipt @ rev 18725

lynis 2.1.1: fix: installs in /usr/share/lynis but can not be found, trying /usr/local/share (as in example on dev website)
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Dec 18 13:20:19 2015 +0000 (2015-12-18)
parents eb8067417980
children 42e0165c64b9
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
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 cd $src
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make $MAKEFLAGS
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/share/games/doom
30 cp $src/src/chocolate-doom $fs/usr/bin
31 }