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

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 20:45:50 2013 +0000 (2013-08-11)
parents
children de49f29b101e
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="liupeng <hipeng@yahoo.com>"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/indent/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure $CONFIGURE_ARGS && make && make install
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/bin
23 cp -a $_pkg/usr/bin/indent $fs/usr/bin
24 }