wok-next annotate chocolate-doom/receipt @ rev 21636
updated f3 (2.2 -> 7.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 11:11:30 2020 +0100 (2020-06-26) |
parents | 01903f3f2f24 |
children |
rev | line source |
---|---|
al@20498 | 1 # SliTaz package receipt v2. |
pascal@3619 | 2 |
pascal@3619 | 3 PACKAGE="chocolate-doom" |
Hans-G?nter@21226 | 4 VERSION="3.0.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" |
Hans-G?nter@21228 | 12 WGET_URL="https://www.chocolate-doom.org/downloads/$VERSION/$TARBALL" |
pascal@15579 | 13 |
Hans-G?nter@21230 | 14 BUILD_DEPENDS="libsamplerate-dev sdl2-dev sdl2-mixer-dev sdl2-net-dev" |
pascal@3619 | 15 |
Hans-G?nter@21226 | 16 compile_rules() |
Hans-G?nter@21226 | 17 { |
pascal@17670 | 18 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" |
al@21020 | 19 |
Hans-G?nter@21226 | 20 ./configure \ |
Hans-G?nter@21226 | 21 --prefix=/usr \ |
Hans-G?nter@21226 | 22 --infodir=/usr/share/info \ |
Hans-G?nter@21226 | 23 --mandir=/usr/share/man \ |
al@20498 | 24 $CONFIGURE_ARGS && |
al@20498 | 25 make $MAKEFLAGS || return 1 |
al@20498 | 26 |
al@21020 | 27 install -Dm755 src/chocolate-doom $install/usr/bin/chocolate-doom |
al@19315 | 28 |
al@19315 | 29 cook_pick_manpages man/*.5 man/*.6 |
pascal@3619 | 30 } |
pascal@3619 | 31 |
Hans-G?nter@21226 | 32 genpkg_rules() |
Hans-G?nter@21226 | 33 { |
al@20498 | 34 copy @std |
Hans-G?nter@21230 | 35 DEPENDS="libsamplerate sdl2 sdl2-mixer sdl2-net" |
pascal@3619 | 36 } |