wok-6.x view indent/receipt @ rev 20134

linux: update modules.list
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 28 22:10:24 2017 +0200 (2017-10-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 }