wok-next view 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 source
1 # SliTaz package receipt v2.
3 PACKAGE="indent"
4 VERSION="2.2.11"
5 CATEGORY="utilities"
6 SHORT_DESC="A tool for formatting C code"
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/indent/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 WGET_URL="http://ftp.de.debian.org/debian/pool/main/i/indent/${PACKAGE}_$VERSION.orig.tar.gz"
15 BUILD_DEPENDS="gettext perl-texi2html"
17 compile_rules() {
18 # rm -f man/indent.1 # remove zero-size file to force rebuild it
19 # sed -i 's|/doc/|/share&|' doc/Makefile*
21 sed -i 's/-number/-number-sections/' doc/Makefile.in
23 export CFLAGS="$CFLAGS -std=gnu90"
24 ./configure $CONFIGURE_ARGS &&
25 make -j 1 &&
26 make install
27 }
29 genpkg_rules() {
30 copy @std
31 }