wok view indent/receipt @ rev 22817

moserial: fix moserial.desktop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 04 18:51:57 2020 +0100 (2020-02-04)
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 }