wok view chocolate-doom/receipt @ rev 20296

uclibc-cross-compiler-x86_64: keep library indexes
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 28 14:09:50 2018 +0200 (2018-04-28)
parents 17e313b5b9c1
children 18d5c324cc42
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 }