wok view indent/receipt @ rev 23933
dar: inserted libdir=/lib
author | Hans-G?nter Theisgen |
---|---|
date | Mon Sep 07 13:19:26 2020 +0100 (2020-09-07) |
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 }