wok-next 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 | 653202875a48 |
children | 5bdfa8c66e11 |
files | chocolate-doom/receipt |
line diff
1.1 --- a/chocolate-doom/receipt Tue Dec 03 15:45:46 2019 +0100 1.2 +++ b/chocolate-doom/receipt Tue Dec 03 16:21:36 2019 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="chocolate-doom" 1.7 -VERSION="1.4.0" 1.8 +VERSION="3.0.0" 1.9 CATEGORY="games" 1.10 SHORT_DESC="Doom source port as close as possible to vanilla Doom" 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -11,15 +11,16 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 1.16 -BUILD_DEPENDS="sdl-mixer-dev sdl-net-dev sdl-dev libsamplerate-dev" 1.17 +BUILD_DEPENDS="libsamplerate-dev sdl-dev sdl-mixer-dev sdl-net-dev" 1.18 1.19 -compile_rules() { 1.20 +compile_rules() 1.21 +{ 1.22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" 1.23 1.24 - ./configure \ 1.25 - --prefix=/usr \ 1.26 - --infodir=/usr/share/info \ 1.27 - --mandir=/usr/share/man \ 1.28 + ./configure \ 1.29 + --prefix=/usr \ 1.30 + --infodir=/usr/share/info \ 1.31 + --mandir=/usr/share/man \ 1.32 $CONFIGURE_ARGS && 1.33 make $MAKEFLAGS || return 1 1.34 1.35 @@ -28,7 +29,8 @@ 1.36 cook_pick_manpages man/*.5 man/*.6 1.37 } 1.38 1.39 -genpkg_rules() { 1.40 +genpkg_rules() 1.41 +{ 1.42 copy @std 1.43 - DEPENDS="sdl sdl-mixer sdl-net libsamplerate" 1.44 + DEPENDS="libsamplerate sdl sdl-mixer sdl-net" 1.45 }