wok view indent/receipt @ rev 19293
o3read, ocaml, optipng, p7zip-full, pmail, python-nose, ratmenu: fix man or doc path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 06 15:27:44 2016 +0200 (2016-07-06) |
parents | 8d64ce80ab95 |
children | fafc5fc0dcdb |
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 }