aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hitch/APKBUILD
blob: a4f6e473baef3774e091146effe6fa6e3ad4e84d (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
# Contributor: Raphael Cohn <raphael.cohn@stormmq.com>
# Maintainer: Raphael Cohn <raphael.cohn@stormmq.com>
pkgname=hitch
pkgver=1.4.6
pkgrel=2
pkgdesc="hitch is a TLS / SSL endpoint like stunnel"
url="https://hitch-tls.org/"
arch="all"
license="BSD"
depends="libev"
makedepends="libev-dev libressl-dev automake autoconf py-docutils bison flex"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/varnish/$pkgname/archive/$pkgname-$pkgver.tar.gz"

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="98caf993aee7b562a39560fc9c634497636e19b295c8a71306b1e1964d5dea5efc14f0b7faa50bff3448b8977ce15521fbce9dc5ceea9f02162c8ebd18ed4eda  hitch-1.4.6.tar.gz"