wok-6.x annotate sshguard/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | a78610b2eb47 |
children | fb7d3b05f186 |
rev | line source |
---|---|
pascal@14764 | 1 # SliTaz package receipt. |
pascal@14764 | 2 |
pascal@14764 | 3 PACKAGE="sshguard" |
Hans-G?nter@21968 | 4 VERSION="2.4.0" |
pascal@14764 | 5 CATEGORY="security" |
Hans-G?nter@21968 | 6 TAGS="ssh" |
Hans-G?nter@21968 | 7 SHORT_DESC="Protects networked hosts from brute force attacks." |
pascal@14764 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14764 | 9 LICENSE="BSD" |
Hans-G?nter@21968 | 10 WEB_SITE="https://www.sshguard.net/" |
Hans-G?nter@21968 | 11 |
pascal@20520 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20520 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pascal@14764 | 14 |
pascal@14764 | 15 DEPENDS="iptables" |
pascal@14764 | 16 BUILD_DEPENDS="" |
pascal@14764 | 17 |
pascal@14764 | 18 # Rules to configure and make the package. |
pascal@14764 | 19 compile_rules() |
pascal@14764 | 20 { |
Hans-G?nter@21968 | 21 ./configure \ |
Hans-G?nter@21968 | 22 --prefix=/usr \ |
Hans-G?nter@21968 | 23 --sysconfdir=/etc \ |
Hans-G?nter@21968 | 24 --mandir=/usr/share/man \ |
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 |
Hans-G?nter@21968 | 34 |
Hans-G?nter@21968 | 35 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21968 | 36 cp -a $install/usr/libexec $fs/usr |
pascal@14764 | 37 } |