# HG changeset patch # User Liu Peng # Date 1253079773 0 # Node ID ae751389abd4a7e45b05a94276253e69aa865762 # Parent a40fcb64596f6d926366aa67398f957214a9974d Add: splint diff -r a40fcb64596f -r ae751389abd4 splint/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/splint/receipt Wed Sep 16 05:42:53 2009 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="splint" +VERSION="3.1.2" +CATEGORY="development" +SHORT_DESC="A tool for statically checking C programs for security vulnerabilities and coding mistakes." +MAINTAINER="rocky@slitaz.org" +BUILD_DEPENDS="flex" +TARBALL="$PACKAGE-$VERSION.src.tgz" +WEB_SITE="http://www.splint.org/" +WGET_URL="http://www.splint.org/downloads/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share $fs/usr +}