summaryrefslogblamecommitdiff
path: root/user/smtpd-starttls-proxy/APKBUILD
blob: 1e81bd2156f72a91d449a44d2748d65ff40a7bc0 (plain) (tree)






























                                                                                                                                                                                  
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=smtpd-starttls-proxy
pkgver=0.0.1.2
pkgrel=0
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.13 s6-dev>=2.11"
subpackages="$pkgname-dev"
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
}

sha512sums="fb9dc2b80d40fe15d8c615e3e4d367b81b19e2ce16be69a14d1c59dcc483c7cde270143b1beb28b9e4657665b743ee62c27074e79a5a5759c16507879b9f9dd8  smtpd-starttls-proxy-0.0.1.2.tar.gz"