wok annotate sshguard/receipt @ rev 14799
Up: xz (5.0.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 13 15:04:42 2013 +0200 (2013-07-13) |
parents | |
children | f44ef80ff9e2 |
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@14764 | 12 |
pascal@14764 | 13 DEPENDS="iptables" |
pascal@14764 | 14 BUILD_DEPENDS="" |
pascal@14764 | 15 |
pascal@14764 | 16 # Rules to configure and make the package. |
pascal@14764 | 17 compile_rules() |
pascal@14764 | 18 { |
pascal@14764 | 19 cd $src |
pascal@14764 | 20 ./configure --prefix=/usr \ |
pascal@14764 | 21 --sysconfdir=/etc \ |
pascal@14764 | 22 --mandir=/usr/share/man \ |
pascal@14764 | 23 --with-firewall=iptables \ |
pascal@14764 | 24 $CONFIGURE_ARGS && |
pascal@14764 | 25 make && |
pascal@14764 | 26 make DESTDIR=$DESTDIR install |
pascal@14764 | 27 } |
pascal@14764 | 28 |
pascal@14764 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14764 | 30 genpkg_rules() |
pascal@14764 | 31 { |
pascal@14764 | 32 mkdir -p $fs/usr |
pascal@14764 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@14764 | 34 } |