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

zsh: give a tty to configure
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 23 08:52:18 2012 +0100 (2012-02-23)
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 }