wok rev 22773

updated freeciv (2.2.5 -> 2.6.1)
author Hans-G?nter Theisgen
date Sat Jan 25 17:08:22 2020 +0100 (7 months ago)
parents 03cab65f327a
children 1f34a6351b82
files freeciv/receipt
line diff
     1.1 --- a/freeciv/receipt	Sat Jan 25 15:58:26 2020 +0100
     1.2 +++ b/freeciv/receipt	Sat Jan 25 17:08:22 2020 +0100
     1.3 @@ -1,29 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="freeciv"
     1.7 -VERSION="2.2.5"
     1.8 +VERSION="2.6.1"
     1.9  CATEGORY="games"
    1.10 +TAGS="strategy"
    1.11  SHORT_DESC="Empire-building strategy game"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://freeciv.wikia.com/wiki/Main_Page"
    1.15 +WEB_SITE="http://www.freeciv.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS="strategy"
    1.20  
    1.21 -DEPENDS="zlib ncurses readline gtk+ gettext-base xorg-libXdamage libsdl-mixer \
    1.22 -bzip2"
    1.23 -BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext \
    1.24 -libsdl-mixer-dev glibc-locale bzip2-dev expat-dev"
    1.25 +DEPENDS="bzip2 gettext-base gtk+3 libsdl-mixer ncurses readline 
    1.26 +	xorg-libXdamage zlib"
    1.27 +BUILD_DEPENDS="bzip2-dev curl-dev expat-dev gettext glibc-locale 
    1.28 +	gtk+3-dev libsdl-mixer-dev ncurses-dev readline-dev zlib-dev"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	sed -i 's/--best/-9/' Makefile* data/scenario/Makefile*
    1.34 +	sed -i 's/--best/-9/'	\
    1.35 +		Makefile*	\
    1.36 +		data/scenarios/Makefile*
    1.37  
    1.38 -	./configure \
    1.39 -		--enable-client=gtk \
    1.40 -		--enable-shared \
    1.41 +	./configure			\
    1.42 +		--enable-client=gtk	\
    1.43 +		--enable-shared		\
    1.44  		$CONFIGURE_ARGS &&
    1.45  	make -j1 &&
    1.46  	make -j1 install
    1.47 @@ -32,11 +35,14 @@
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51 -	mkdir -p $fs/usr/share $fs/usr/lib
    1.52 -	cp -a $install/usr/bin $fs/usr
    1.53 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.54 -	cp -a $install/usr/share/freeciv $fs/usr/share
    1.55 +	mkdir -p $fs/usr/share
    1.56 +	mkdir -p $fs/usr/lib
    1.57 +
    1.58 +	cp -a $install/usr/bin			$fs/usr
    1.59 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.60 +	cp -a $install/usr/share/freeciv	$fs/usr/share
    1.61 +
    1.62  	# Add icons for desktop files
    1.63 -	cp -a $install/usr/share/icons/hicolor/32x32/apps $fs/usr/share/pixmaps
    1.64 +	cp -a $install/usr/share/icons/hicolor/32x32/apps \
    1.65 +						$fs/usr/share/pixmaps
    1.66  }
    1.67 -