summaryrefslogtreecommitdiff
path: root/user/smtpd-starttls-proxy/APKBUILD
blob: 72c2cc0fcfb3d577727ceefa2160cff651232a65 (plain) (blame)
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: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=smtpd-starttls-proxy
pkgver=0.0.1.3
pkgrel=1
pkgdesc="An SMTP proxy implementing STARTTLS"
url="https://skarnet.org/software/smtpd-starttls-proxy/"
arch="all"
options="!check"  # No test suite.
license="ISC"
depends="s6 s6-networking"
makedepends="skalibs-dev>=2.14 s6-dev>=2.12"
subpackages="$pkgname-dev $pkgname-doc"
source="https://skarnet.org/software/smtpd-starttls-proxy/smtpd-starttls-proxy-$pkgver.tar.gz"

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

package() {
	make DESTDIR="$pkgdir" install
	mkdir -p -m 0755 "$pkgdir/usr/share/doc"
	cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
}

sha512sums="55fc24d3923b7f3cf3137f4d36ed90ebfd2b603f55cfb6cd6d9ae3f67ec38706540c21c2f1a6257f5702e0a93dcba2e31fbfb99fae9d27e20002b265e78b0cf9  smtpd-starttls-proxy-0.0.1.3.tar.gz"