wok-next view splint/receipt @ rev 10352

bash: make it cross compile!
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 22:38:05 2011 +0200 (2011-05-22)
parents ae751389abd4
children b7319995b37e
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 && make -j1 && make install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr
24 cp -a $_pkg/usr/bin $fs/usr
25 cp -a $_pkg/usr/share $fs/usr
26 }