wok annotate chocolate-doom/receipt @ rev 23456

updated pure-ftpd and pure-ftpd-pam (1.0.48 -> 1.0.49)
author Hans-G?nter Theisgen
date Fri Apr 03 13:56:35 2020 +0100 (2020-04-03)
parents 42e0165c64b9
children 5baa9d957a85
rev   line source
pascal@3619 1 # SliTaz package receipt.
pascal@3619 2
pascal@3619 3 PACKAGE="chocolate-doom"
Hans-G?nter@22596 4 VERSION="3.0.0"
pascal@3619 5 CATEGORY="games"
pascal@3619 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"
Hans-G?nter@22596 9 WEB_SITE="https://chocolate-doom.org/wiki/index.php/Chocolate_Doom"
Hans-G?nter@22596 10
pascal@3619 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22596 12 WGET_URL="https://chocolate-doom.org/downloads/$VERSION/$TARBALL"
pascal@15579 13
Hans-G?nter@22596 14 DEPENDS="libsamplerate libsdl2 libsdl2-mixer libsdl2-net"
Hans-G?nter@22596 15 BUILD_DEPENDS="libsdl2-dev libsdl2-mixer-dev libsdl2-net-dev"
pascal@3619 16
pascal@3619 17 # Rules to configure and make the package.
pascal@3619 18 compile_rules()
pascal@3619 19 {
pascal@17670 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
Hans-G?nter@22596 21
Hans-G?nter@22596 22 ./configure \
Hans-G?nter@22596 23 --prefix=/usr \
Hans-G?nter@22596 24 --infodir=/usr/share/info \
Hans-G?nter@22596 25 --mandir=/usr/share/man \
Hans-G?nter@22596 26 $CONFIGURE_ARGS &&
gokhlayeh@11574 27 make $MAKEFLAGS
al@19315 28
al@19315 29 cook_pick_manpages man/*.5 man/*.6
pascal@3619 30 }
pascal@3619 31
pascal@3619 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3619 33 genpkg_rules()
pascal@3619 34 {
Hans-G?nter@22596 35 mkdir -p $fs/usr/bin
Hans-G?nter@22596 36 mkdir -p $fs/usr/share/games/doom
Hans-G?nter@22596 37
Hans-G?nter@22596 38 cp $src/src/chocolate-doom $fs/usr/bin
pascal@3619 39 }