wok-next annotate indent/receipt @ rev 18449
newsbeuter: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 21:35:58 2015 +0200 (2015-09-26) |
parents | de49f29b101e |
children | e8c84b81fa04 |
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." |
pascal@16047 | 7 MAINTAINER="lufeng369@slitaz.org" |
pascal@15600 | 8 LICENSE="GPL3" |
hipeng@11313 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
hipeng@11313 | 10 WEB_SITE="http://www.gnu.org/software/indent/" |
hipeng@11313 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
hipeng@11313 | 12 |
hipeng@11313 | 13 # Rules to configure and make the package. |
hipeng@11313 | 14 compile_rules() |
hipeng@11313 | 15 { |
hipeng@11313 | 16 cd $src |
hipeng@11313 | 17 ./configure $CONFIGURE_ARGS && make && make install |
hipeng@11313 | 18 } |
hipeng@11313 | 19 |
hipeng@11313 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
hipeng@11313 | 21 genpkg_rules() |
hipeng@11313 | 22 { |
hipeng@11313 | 23 mkdir -p $fs/usr/bin |
pascal@15600 | 24 cp -a $install/usr/bin/indent $fs/usr/bin |
hipeng@11313 | 25 } |