aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hitch/APKBUILD
blob: 0708f9450f0f311ed3149558efb3ab18ae1025d0 (plain)
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
29
# Contributor: Raphael Cohn <raphael.cohn@stormmq.com>
# Maintainer: Raphael Cohn <raphael.cohn@stormmq.com>
pkgname=hitch
pkgver=1.5.1
pkgrel=0
pkgdesc="hitch is a TLS / SSL endpoint like stunnel"
url="https://hitch-tls.org/"
arch="all"
license="BSD-2-Clause"
makedepends="libev-dev openssl-dev py3-docutils bison flex"
subpackages="$pkgname-doc"
source="https://hitch-tls.org/source/hitch-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-tcp-fastopen
	make
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="61fca7c55cc01ae314a216109249877a9b9bb9544ada5704bdec608f68ef3dc03d30de9fc1796ed519cad074e72c4104213714c2a30873378133d7b1f14cbf17  hitch-1.5.1.tar.gz"