wok annotate sshguard/receipt @ rev 18885

Up zstd (0.5.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 12 09:46:37 2016 +0100 (2016-02-12)
parents 1ee1b690fa90
children d7919052f62f
rev   line source
pascal@14764 1 # SliTaz package receipt.
pascal@14764 2
pascal@14764 3 PACKAGE="sshguard"
pascal@14764 4 VERSION="1.5"
pascal@14764 5 CATEGORY="security"
pascal@14764 6 SHORT_DESC="Protects networked hosts from brute force attacks"
pascal@14764 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14764 8 LICENSE="BSD"
pascal@14764 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@14764 10 WEB_SITE="http://www.sshguard.net/"
pascal@14764 11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
pascal@17141 12 TAGS="ssh"
pascal@14764 13
pascal@14764 14 DEPENDS="iptables"
pascal@14764 15 BUILD_DEPENDS=""
pascal@14764 16
pascal@14764 17 # Rules to configure and make the package.
pascal@14764 18 compile_rules()
pascal@14764 19 {
pascal@14764 20 cd $src
pascal@14764 21 ./configure --prefix=/usr \
pascal@14764 22 --sysconfdir=/etc \
pascal@14764 23 --mandir=/usr/share/man \
pascal@14764 24 --with-firewall=iptables \
pascal@14764 25 $CONFIGURE_ARGS &&
pascal@14764 26 make &&
pascal@14764 27 make DESTDIR=$DESTDIR install
pascal@14764 28 }
pascal@14764 29
pascal@14764 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14764 31 genpkg_rules()
pascal@14764 32 {
pascal@14764 33 mkdir -p $fs/usr
pascal@14764 34 cp -a $install/usr/sbin $fs/usr
pascal@14764 35 }