wok view indent/receipt @ rev 19619

locale-pack.functions: make valid relative symlink for icon for lxpanel keyboard applet
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 10 16:22:01 2017 +0200 (2017-01-10)
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 }