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