wok-6.x view sshguard/receipt @ rev 16167

ARM: improve slitaz-configs*
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 29 13:56:21 2014 +0100 (2014-03-29)
parents
children f44ef80ff9e2
line source
1 # SliTaz package receipt.
3 PACKAGE="sshguard"
4 VERSION="1.5"
5 CATEGORY="security"
6 SHORT_DESC="Protects networked hosts from brute force attacks"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.sshguard.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
13 DEPENDS="iptables"
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --with-firewall=iptables \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR 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/sbin $fs/usr
34 }