wok annotate splint/receipt @ rev 7323
autofs: add /etc/init.d/autofs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 18 09:56:09 2010 +0100 (2010-11-18) |
parents | |
children | af1ca146c629 |
rev | line source |
---|---|
rocky@4087 | 1 # SliTaz package receipt. |
rocky@4087 | 2 |
rocky@4087 | 3 PACKAGE="splint" |
rocky@4087 | 4 VERSION="3.1.2" |
rocky@4087 | 5 CATEGORY="development" |
rocky@4087 | 6 SHORT_DESC="A tool for statically checking C programs for security vulnerabilities and coding mistakes." |
rocky@4087 | 7 MAINTAINER="rocky@slitaz.org" |
rocky@4087 | 8 BUILD_DEPENDS="flex" |
rocky@4087 | 9 TARBALL="$PACKAGE-$VERSION.src.tgz" |
rocky@4087 | 10 WEB_SITE="http://www.splint.org/" |
rocky@4087 | 11 WGET_URL="http://www.splint.org/downloads/$TARBALL" |
rocky@4087 | 12 |
rocky@4087 | 13 # Rules to configure and make the package. |
rocky@4087 | 14 compile_rules() |
rocky@4087 | 15 { |
rocky@4087 | 16 cd $src |
rocky@4087 | 17 ./configure --prefix=/usr \ |
rocky@4087 | 18 $CONFIGURE_ARGS && |
rocky@4087 | 19 make && |
rocky@4087 | 20 make DESTDIR=$PWD/_pkg install |
rocky@4087 | 21 } |
rocky@4087 | 22 |
rocky@4087 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@4087 | 24 genpkg_rules() |
rocky@4087 | 25 { |
rocky@4087 | 26 mkdir -p $fs/usr |
rocky@4087 | 27 cp -a $_pkg/usr/bin $fs/usr |
rocky@4087 | 28 cp -a $_pkg/usr/share $fs/usr |
rocky@4087 | 29 } |