-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
28 lines (27 loc) · 852 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Template file for 'sslh'
pkgname=sslh
version=1.22c
revision=1
hostmakedepends="perl"
makedepends="pcre-devel libconfig-devel libcap-devel pcre2-devel"
short_desc="Applicative Protocol Multiplexer"
maintainer="Markus Berger <pulux@pf4sh.de>"
license="GPL-2.0-or-later"
homepage="https://www.rutschle.net/tech/sslh/README.html"
distfiles="https://github.com/yrutschle/sslh/archive/v${version}.tar.gz"
checksum=ec5f6998f90b2849d113f2617db7ceca5281fbe4ef55fcd185789d390c09eb04
do_build() {
sed -i 's|^MAN=sslh.8.gz|MAN=sslh.8|g' Makefile
sed -i 's|sbin|bin|g' Makefile
sed -i 's|sslh.pod \| gzip -9 - > $(MAN)|sslh.pod > $(MAN)|g' Makefile
make CC=$CC ENABLE_REGEX=1 USELIBPCRE=1 USELIBCONFIG=1 USELIBCAP=1
}
do_install() {
make DESTDIR=${DESTDIR} PREFIX=/usr install
vman sslh.8
vsv sslh
for f in *.cfg; do
vdoc ${f}
done
vdoc README.md
}