wok-6.x view splint/receipt @ rev 25287
updated rsync (3.2.3 -> 3.2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 17:50:55 2022 +0100 (2022-07-18) |
parents | ee15b6380b31 |
children |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.src.tgz"
10 WEB_SITE="http://www.splint.org/"
11 WGET_URL="http://www.splint.org/downloads/$TARBALL"
13 BUILD_DEPENDS="flex autoconf automake libtool"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://github.com/splintchecker/splint/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;/cvs/d;s|.*/[a-z-]*\(.*\).tar.*|\1|;s|_|.|g;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 autoreconf -i
26 ./configure $CONFIGURE_ARGS && make -j1 && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share $fs/usr
35 }