wok-current annotate sslh/receipt @ rev 20486
perl: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 26 10:09:53 2018 +0200 (2018-10-26) |
parents | 65be6fea1437 |
children | 03ccd15b9fa1 |
rev | line source |
---|---|
pascal@5207 | 1 # SliTaz package receipt. |
pascal@5207 | 2 |
pascal@5207 | 3 PACKAGE="sslh" |
pascal@20403 | 4 VERSION="1.19c" |
pascal@5207 | 5 CATEGORY="network" |
pascal@18054 | 6 SHORT_DESC="Accept HTTPS SSH OpenVPN Tinc & XMPP connections on the same port." |
pascal@5207 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
pascal@18054 | 9 TARBALL="$PACKAGE-v$VERSION.tar.gz" |
pascal@20403 | 10 WEB_SITE="http://www.rutschle.net/tech/sslh/README.html" |
pascal@20403 | 11 WGET_URL="https://github.com/yrutschle/sslh/archive/v$VERSION.tar.gz" |
pascal@19628 | 12 CONFIG_FILES="/etc/sslh.cfg" |
pascal@18054 | 13 TAGS="ssh vpn tunnel" |
pascal@15593 | 14 |
pascal@13294 | 15 DEPENDS="libwrap libconfig" |
pascal@13294 | 16 BUILD_DEPENDS="libwrap-dev libwrap libconfig-dev" |
pascal@5207 | 17 |
pascal@5207 | 18 # Rules to configure and make the package. |
pascal@5207 | 19 compile_rules() |
pascal@5207 | 20 { |
pascal@5207 | 21 make |
pascal@5207 | 22 } |
pascal@5207 | 23 |
pascal@5207 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5207 | 25 genpkg_rules() |
pascal@5207 | 26 { |
pascal@19628 | 27 mkdir -p $fs/usr/sbin $fs/etc |
pascal@19630 | 28 mkdir -p $install/usr/share/man $install/usr/share/doc |
pascal@11354 | 29 cp -a $src/sslh-fork $fs/usr/sbin |
pascal@11354 | 30 cp -a $src/sslh-select $fs/usr/sbin |
pascal@19630 | 31 cp $src/basic.cfg $fs/etc/sslh.cfg |
pascal@19628 | 32 cp $src/sslh.8.gz $install/usr/share/man |
pascal@19628 | 33 cp $src/*.cfg $install/usr/share/doc |
pascal@19628 | 34 cp $src/README.md $install/usr/share/doc |
pascal@5207 | 35 } |