wok-next diff indent/receipt @ rev 11662
Up firefox (10.0.1, security fix)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 09:56:04 2012 +0100 (2012-02-13) |
parents | |
children | de49f29b101e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/indent/receipt Mon Feb 13 09:56:04 2012 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="indent" 1.7 +VERSION="2.2.10" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="A tool for formatting C code." 1.10 +MAINTAINER="liupeng <hipeng@yahoo.com>" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.gnu.org/software/indent/" 1.13 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + ./configure $CONFIGURE_ARGS && make && make install 1.20 +} 1.21 + 1.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.23 +genpkg_rules() 1.24 +{ 1.25 + mkdir -p $fs/usr/bin 1.26 + cp -a $_pkg/usr/bin/indent $fs/usr/bin 1.27 +} 1.28 +