wok-next annotate indent/receipt @ rev 15608

hubbub: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 20:31:17 2013 +0000 (2013-12-06)
parents ebf45342566b
children 8d64ce80ab95
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>"
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 }