summaryrefslogblamecommitdiff
path: root/user/smtpd-starttls-proxy/APKBUILD
blob: d0e3a8a8a6607cd762642b2c3bb8a31d365a19af (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                      
              
        




                                                        




                                                         
                                       



                                                                                              

                                     




                                      

                                                              

 
                                                                                                                                                                                  
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=smtpd-starttls-proxy
pkgver=0.0.1.5
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"
_skalibs_version=2.14.3
_s6_version=2.13.1
_s6net_version=2.7.0
depends="s6>=$_s6_version s6-networking>=$_s6net_version"
makedepends="skalibs-dev>=$_skalibs_version s6-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://skarnet.org/software/smtpd-starttls-proxy/smtpd-starttls-proxy-$pkgver.tar.gz"

build() {
	./configure \
		--disable-allstatic \
		--prefix=/usr
	make
}

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

sha512sums="228b4f15abdf94a814e03c57f3c6eacf604575128710e26921e8010d73c97ed2ff717185bc06b6bfd1e380f34201154a85b9864a7aef4881b3e0329948cc608e  smtpd-starttls-proxy-0.0.1.5.tar.gz"