wok-current view indent/receipt @ rev 21772
Up hostapd (2.8), slitaz-boot-scripts (456), slitaz-tools (1030), tazlito (516), tazpanel (627)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 06 16:10:54 2019 +0200 (2019-07-06) |
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 }