wok-next view indent/receipt @ rev 19924

py3k3: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:11:14 2017 +0200 (2017-10-14)
parents 8d64ce80ab95
children 0e7893ac206d
line source
1 # SliTaz package receipt.
3 PACKAGE="indent"
4 VERSION="2.2.10"
5 CATEGORY="utilities"
6 SHORT_DESC="A tool for formatting C code."
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/indent/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 rm -f man/indent.1
17 sed -i 's|/doc/|/share&|' doc/Makefile*
18 ./configure $CONFIGURE_ARGS && make -j 1 && make install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin
25 cp -a $install/usr/bin/indent $fs/usr/bin
26 }