wok-next annotate chocolate-doom/receipt @ rev 21226
updated chocolate-doom (1.4.0 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 16:21:36 2019 +0100 (2019-12-03) |
parents | 0f2575775b2d |
children | 01903f3f2f24 |
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" |
pascal@3619 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15579 | 13 |
Hans-G?nter@21226 | 14 BUILD_DEPENDS="libsamplerate-dev sdl-dev sdl-mixer-dev sdl-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@21226 | 35 DEPENDS="libsamplerate sdl sdl-mixer sdl-net" |
pascal@3619 | 36 } |