wok-4.x annotate fail2ban/receipt @ rev 9112

taglib: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 10:44:27 2011 +0100 (2011-03-05)
parents e948f11f23d4
children 5d8d4ed26dc6
rev   line source
pascal@1809 1 # SliTaz package receipt.
pascal@1809 2
pascal@1809 3 PACKAGE="fail2ban"
slaxemulator@7152 4 VERSION="0.8.4"
pascal@1809 5 CATEGORY="network"
pascal@1809 6 SHORT_DESC="Scans log files to bans IP that makes too many password failures.."
pascal@1809 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1809 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1809 9 WEB_SITE="http://www.fail2ban.org/wiki/index.php/Main_Page"
pascal@8940 10 BUILD_DEPENDS="python"
pascal@1809 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4936 12 TAGS="monitor network"
pascal@1809 13
pascal@1809 14 # Rules to configure and make the package.
pascal@1809 15 compile_rules()
pascal@1809 16 {
pascal@1809 17 cd $src
pascal@1809 18 python setup.py install --root=$PWD/_pkg
pascal@1809 19 }
pascal@1809 20
pascal@1809 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1809 22 genpkg_rules()
pascal@1809 23 {
pascal@1809 24 cp -a $_pkg/* $fs
pascal@1809 25 }
pascal@1809 26