wok view indent/receipt @ rev 21048

updated indent (2.2.10 -> 2.2.12)
author Hans-G?nter Theisgen
date Tue Mar 12 16:47:06 2019 +0100 (2019-03-12)
parents e8c84b81fa04
children 505b1193ddc4
line source
1 # SliTaz package receipt.
3 PACKAGE="indent"
4 VERSION="2.2.12"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 rm -f man/indent.1
18 sed -i 's|/doc/|/share&|' doc/Makefile*
20 ./configure $CONFIGURE_ARGS &&
21 make -j 1 &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $install/usr/bin/indent $fs/usr/bin
30 }