wok-6.x annotate indent/receipt @ rev 16938
xterm: fix wget_url (need version/tag in url)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 22 12:20:25 2014 +0200 (2014-07-22) |
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 } |