29 lines
863 B
Bash
29 lines
863 B
Bash
# Template file for 'sslh'
|
|
pkgname=sslh
|
|
version=1.18
|
|
revision=2
|
|
hostmakedepends="perl"
|
|
makedepends="pcre-devel libconfig-devel libcap-devel"
|
|
short_desc="Applicative Protocol Multiplexer"
|
|
maintainer="Markus Berger <pulux@pf4sh.de>"
|
|
license="GPL-2"
|
|
homepage="http://www.rutschle.net/tech/sslh.shtml"
|
|
distfiles="https://github.com/yrutschle/sslh/archive/v${version}.tar.gz"
|
|
checksum=f6cabf0e0c575aed20d1de23d3d693f3921c21e270d85fecba1ad2a48f3afcef
|
|
|
|
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
|
|
sed -i 's|-lpcre|-lpcreposix|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
|
|
}
|