wok-next diff freeciv/receipt @ rev 20616

xrdp: up 0.9.3.1; zopfli: fix build; gcc61: attempt to fix; add gcc6 (latest among 6.x.x).
gcc61 and gcc6 are broken now.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 21 05:15:11 2018 +0300 (2018-04-21)
parents e4fd343fd7b8
children f48456621a9d
line diff
     1.1 --- a/freeciv/receipt	Sun Jul 13 23:12:56 2014 +0300
     1.2 +++ b/freeciv/receipt	Sat Apr 21 05:15:11 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="freeciv"
     1.8  VERSION="2.2.5"
     1.9 @@ -7,36 +7,28 @@
    1.10  MAINTAINER="pascal.bellard@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12  WEB_SITE="http://freeciv.wikia.com/wiki/Main_Page"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 -TAGS="strategy"
    1.17  
    1.18 -DEPENDS="zlib ncurses readline gtk+ gettext-base xorg-libXdamage libsdl-mixer \
    1.19 -bzip2"
    1.20  BUILD_DEPENDS="zlib-dev ncurses-dev readline-dev gtk+-dev gettext \
    1.21  libsdl-mixer-dev glibc-locale bzip2-dev expat-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	sed -i 's/--best/-9/' Makefile* data/scenario/Makefile*
    1.28  
    1.29  	./configure \
    1.30  		--enable-client=gtk \
    1.31  		--enable-shared \
    1.32  		$CONFIGURE_ARGS &&
    1.33 +	fix libtool &&
    1.34  	make -j1 &&
    1.35  	make -j1 install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	mkdir -p $fs/usr/share $fs/usr/lib
    1.42 -	cp -a $install/usr/bin $fs/usr
    1.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.44 -	cp -a $install/usr/share/freeciv $fs/usr/share
    1.45 -	# Add icons for desktop files
    1.46 -	cp -a $install/usr/share/icons/hicolor/32x32/apps $fs/usr/share/pixmaps
    1.47 +genpkg_rules() {
    1.48 +	copy @std
    1.49 +	DEPENDS="zlib ncurses readline gtk+ gettext-base xorg-libXdamage \
    1.50 +	libsdl-mixer bzip2"
    1.51 +	TAGS="strategy"
    1.52  }
    1.53 -