wok-current view indent/receipt @ rev 20686
Up gtkdialog (0.8.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 28 13:13:48 2019 +0100 (2019-01-28) |
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 }