wok-next annotate indent/receipt @ rev 20744

ibus: update bdeps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 30 01:07:54 2018 +0300 (2018-05-30)
parents e8c84b81fa04
children fa742965cd05
rev   line source
al@20443 1 # SliTaz package receipt v2.
hipeng@11313 2
hipeng@11313 3 PACKAGE="indent"
al@20443 4 VERSION="2.2.11"
hipeng@11313 5 CATEGORY="utilities"
al@20443 6 SHORT_DESC="A tool for formatting C code"
pascal@16047 7 MAINTAINER="lufeng369@slitaz.org"
pascal@15600 8 LICENSE="GPL3"
al@20443 9 WEB_SITE="https://www.gnu.org/software/indent/"
al@20443 10
hipeng@11313 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20443 12 #WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
al@20443 13 WGET_URL="http://ftp.de.debian.org/debian/pool/main/i/indent/${PACKAGE}_$VERSION.orig.tar.gz"
hipeng@11313 14
al@20443 15 BUILD_DEPENDS="gettext perl-texi2html"
al@20443 16
al@20443 17 compile_rules() {
al@20443 18 # rm -f man/indent.1 # remove zero-size file to force rebuild it
al@20443 19 # sed -i 's|/doc/|/share&|' doc/Makefile*
al@20443 20
al@20443 21 sed -i 's/-number/-number-sections/' doc/Makefile.in
al@20443 22
al@20443 23 export CFLAGS="$CFLAGS -std=gnu90"
al@20443 24 ./configure $CONFIGURE_ARGS &&
al@20443 25 make -j 1 &&
al@20443 26 make install
hipeng@11313 27 }
hipeng@11313 28
al@20443 29 genpkg_rules() {
al@20443 30 copy @std
hipeng@11313 31 }