wok view indent/receipt @ rev 17393
opus: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 16:05:28 2014 +0100 (2014-11-27) |
parents | de49f29b101e |
children | e8c84b81fa04 |
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 cd $src
17 ./configure $CONFIGURE_ARGS && make && make install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin
24 cp -a $install/usr/bin/indent $fs/usr/bin
25 }