mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-09 23:51:37 +01:00
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
# 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"
|