wok-next annotate chocolate-doom/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents d5aab818505e
children 9b5da8445421
rev   line source
al@20498 1 # SliTaz package receipt v2.
pascal@3619 2
pascal@3619 3 PACKAGE="chocolate-doom"
slaxemulator@6220 4 VERSION="1.4.0"
pascal@3619 5 CATEGORY="games"
al@20498 6 SHORT_DESC="Doom source port as close as possible to vanilla Doom"
pascal@3619 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="https://www.chocolate-doom.org/wiki/index.php/Chocolate_Doom"
al@20498 10
pascal@3619 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@3619 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15579 13
al@21087 14 BUILD_DEPENDS="sdl-mixer-dev sdl-net-dev sdl-dev libsamplerate-dev"
pascal@3619 15
al@20498 16 compile_rules() {
pascal@17670 17 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
al@21020 18
al@20498 19 ./configure \
al@20498 20 --prefix=/usr \
al@20498 21 --infodir=/usr/share/info \
al@20498 22 --mandir=/usr/share/man \
al@20498 23 $CONFIGURE_ARGS &&
al@20498 24 make $MAKEFLAGS || return 1
al@20498 25
al@21020 26 install -Dm755 src/chocolate-doom $install/usr/bin/chocolate-doom
al@19315 27
al@19315 28 cook_pick_manpages man/*.5 man/*.6
pascal@3619 29 }
pascal@3619 30
al@20498 31 genpkg_rules() {
al@20498 32 copy @std
al@21087 33 DEPENDS="sdl sdl-mixer sdl-net libsamplerate"
pascal@3619 34 }