aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hitch/APKBUILD
blob: 885640ecdf57b1bfc261751065e908f96ff62357 (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
30
31
32
33
34
35
36
37
38
39
# Contributor: Raphael Cohn <raphael.cohn@stormmq.com>
# Maintainer: Raphael Cohn <raphael.cohn@stormmq.com>
pkgname=hitch
pkgver=1.4.8
pkgrel=0
pkgdesc="hitch is a TLS / SSL endpoint like stunnel"
url="https://hitch-tls.org/"
arch="all"
license="BSD"
makedepends="libev-dev openssl-dev automake autoconf py-docutils bison flex
	autoconf automake libtool"
subpackages="$pkgname-doc"
source="https://hitch-tls.org/source/hitch-$pkgver.tar.gz
	disable-Werror.patch"

builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	default_prepare
	autoreconf -vif -I.
}

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="4225391822c6e223e795bbc4756d55dcd8d16f61b42cf1e336205ae0707c1ba1f86b4c0be1457695d0f0ad4ec1906fdacb46cdd0dbbe50d00385380a9cbad617  hitch-1.4.8.tar.gz
0c0eca5142dc9023f2615e7b8bc3835ac1bf531d687de05024ca485b54244ee5c58e643b0dd933f1c23ba33f519d98fba8a4ebaec911879af08ce33d9ba6cd7a  disable-Werror.patch"