wok annotate indent/receipt @ rev 13205
Up: wget (1.14)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Aug 06 13:47:08 2012 +0200 (2012-08-06) |
parents | |
children | de49f29b101e |
rev | line source |
---|---|
hipeng@11313 | 1 # SliTaz package receipt. |
hipeng@11313 | 2 |
hipeng@11313 | 3 PACKAGE="indent" |
hipeng@11313 | 4 VERSION="2.2.10" |
hipeng@11313 | 5 CATEGORY="utilities" |
hipeng@11313 | 6 SHORT_DESC="A tool for formatting C code." |
hipeng@11313 | 7 MAINTAINER="liupeng <hipeng@yahoo.com>" |
hipeng@11313 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
hipeng@11313 | 9 WEB_SITE="http://www.gnu.org/software/indent/" |
hipeng@11313 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
hipeng@11313 | 11 |
hipeng@11313 | 12 # Rules to configure and make the package. |
hipeng@11313 | 13 compile_rules() |
hipeng@11313 | 14 { |
hipeng@11313 | 15 cd $src |
hipeng@11313 | 16 ./configure $CONFIGURE_ARGS && make && make install |
hipeng@11313 | 17 } |
hipeng@11313 | 18 |
hipeng@11313 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
hipeng@11313 | 20 genpkg_rules() |
hipeng@11313 | 21 { |
hipeng@11313 | 22 mkdir -p $fs/usr/bin |
hipeng@11313 | 23 cp -a $_pkg/usr/bin/indent $fs/usr/bin |
hipeng@11313 | 24 } |
hipeng@11313 | 25 |