wok-next view indent/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
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 }