wok-4.x view indent/receipt @ rev 12309

get-flash-plugin: be busybox/sed compatible
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 11 11:12:14 2012 +0200 (2012-07-11)
parents
children
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 }