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

linux: workaround missing --extract in cook
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 19:01:36 2012 +0200 (2012-04-15)
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 }