wok-6.x diff indent/receipt @ rev 12653
freeglut, matchbox-desktop-2: add LDFLAGS for Binutils 2.22
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 30 10:01:30 2012 +0200 (2012-04-30) |
parents | |
children | de49f29b101e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/indent/receipt Mon Apr 30 10:01:30 2012 +0200 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 +