wok-next diff indent/receipt @ rev 20712

libtorrent: fix rtorrent building for non-64bit archs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:13:53 2018 +0300 (2018-05-27)
parents e8c84b81fa04
children fa742965cd05
line diff
     1.1 --- a/indent/receipt	Wed Jul 06 12:08:46 2016 +0200
     1.2 +++ b/indent/receipt	Sun May 27 12:13:53 2018 +0300
     1.3 @@ -1,26 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="indent"
     1.8 -VERSION="2.2.10"
     1.9 +VERSION="2.2.11"
    1.10  CATEGORY="utilities"
    1.11 -SHORT_DESC="A tool for formatting C code."
    1.12 +SHORT_DESC="A tool for formatting C code"
    1.13  MAINTAINER="lufeng369@slitaz.org"
    1.14  LICENSE="GPL3"
    1.15 +WEB_SITE="https://www.gnu.org/software/indent/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.gnu.org/software/indent/"
    1.19 -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.20 +#WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.21 +WGET_URL="http://ftp.de.debian.org/debian/pool/main/i/indent/${PACKAGE}_$VERSION.orig.tar.gz"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	rm -f man/indent.1
    1.27 -	sed -i 's|/doc/|/share&|' doc/Makefile*
    1.28 -	./configure $CONFIGURE_ARGS && make -j 1 && make install
    1.29 +BUILD_DEPENDS="gettext perl-texi2html"
    1.30 +
    1.31 +compile_rules() {
    1.32 +#	rm -f man/indent.1 # remove zero-size file to force rebuild it
    1.33 +#	sed -i 's|/doc/|/share&|' doc/Makefile*
    1.34 +
    1.35 +	sed -i 's/-number/-number-sections/' doc/Makefile.in
    1.36 +
    1.37 +	export CFLAGS="$CFLAGS -std=gnu90"
    1.38 +	./configure $CONFIGURE_ARGS &&
    1.39 +	make -j 1 &&
    1.40 +	make install
    1.41  }
    1.42  
    1.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 -genpkg_rules()
    1.45 -{
    1.46 -	mkdir -p $fs/usr/bin
    1.47 -	cp -a $install/usr/bin/indent $fs/usr/bin
    1.48 +genpkg_rules() {
    1.49 +	copy @std
    1.50  }