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

Up opus (1.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 23 13:26:20 2019 +0200 (2019-05-23)
parents fafc5fc0dcdb
children 71360a13cd94
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 BUILD_DEPENDS="texinfo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 rm -f man/indent.1
20 sed -i 's|/doc/|/share&|' doc/Makefile*
22 ./configure $CONFIGURE_ARGS &&
23 make -j 1 &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin/indent $fs/usr/bin
32 }