aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hitch/APKBUILD
blob: 6561c2f30a05ff64509dbc280086c8ac72711062 (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
# Contributor: Raphael Cohn <raphael.cohn@stormmq.com>
# Maintainer: Raphael Cohn <raphael.cohn@stormmq.com>
pkgname=hitch
pkgver=1.5.0
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 automake autoconf py-docutils bison flex
	libtool"
subpackages="$pkgname-doc"
source="https://hitch-tls.org/source/hitch-$pkgver.tar.gz
	disable-Werror.patch"

prepare() {
	default_prepare
	autoreconf -vif -I.
}

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

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="17991d9a82635456fcd0cebf0f1b067183bc0a02eaf0d1437ba3369674a2a9880ca8774afde984710123c46b472bdbe3b1bf6770e7475d5d24170a7674a48be5  hitch-1.5.0.tar.gz
0c0eca5142dc9023f2615e7b8bc3835ac1bf531d687de05024ca485b54244ee5c58e643b0dd933f1c23ba33f519d98fba8a4ebaec911879af08ce33d9ba6cd7a  disable-Werror.patch"