wok rev 22596

updated chocolate-doom (1.4.0 -> 3.0.0)
author Hans-G?nter Theisgen
date Tue Jan 07 17:34:35 2020 +0100 (2020-01-07)
parents 34f14eb6c7bc
children cf3e61da7a25
files chocolate-doom/receipt
line diff
     1.1 --- a/chocolate-doom/receipt	Tue Jan 07 17:19:08 2020 +0100
     1.2 +++ b/chocolate-doom/receipt	Tue Jan 07 17:34:35 2020 +0100
     1.3 @@ -1,24 +1,29 @@
     1.4  # SliTaz package receipt.
     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  LICENSE="GPL2"
    1.13 -WEB_SITE="http://$PACKAGE.sourceforge.net/"
    1.14 +WEB_SITE="https://chocolate-doom.org/wiki/index.php/Chocolate_Doom"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 +WGET_URL="https://chocolate-doom.org/downloads/$VERSION/$TARBALL"
    1.19  
    1.20 -DEPENDS="libsdl libsdl-mixer libsdl-net libsamplerate"
    1.21 -BUILD_DEPENDS="libsdl-mixer-dev  libsdl-net-dev libsdl-dev"
    1.22 +DEPENDS="libsamplerate libsdl2 libsdl2-mixer libsdl2-net"
    1.23 +BUILD_DEPENDS="libsdl2-dev libsdl2-mixer-dev  libsdl2-net-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
    1.29 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.30 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.31 +
    1.32 +	./configure				\
    1.33 +		--prefix=/usr			\
    1.34 +		--infodir=/usr/share/info	\
    1.35 +		--mandir=/usr/share/man		\
    1.36 +		$CONFIGURE_ARGS &&
    1.37  	make $MAKEFLAGS
    1.38  
    1.39  	cook_pick_manpages man/*.5 man/*.6
    1.40 @@ -27,6 +32,8 @@
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr/bin $fs/usr/share/games/doom
    1.45 -	cp $src/src/chocolate-doom $fs/usr/bin
    1.46 +	mkdir -p $fs/usr/bin
    1.47 +	mkdir -p $fs/usr/share/games/doom
    1.48 +
    1.49 +	cp $src/src/chocolate-doom	$fs/usr/bin
    1.50  }