void-packages/srcpkgs/opensmtpd-extras/template

27 lines
892 B
Bash

# Template file for 'opensmtpd-extras'
pkgname=opensmtpd-extras
version=6.6.0
revision=4
wrksrc="OpenSMTPD-extras-${version}"
build_style=gnu-configure
configure_args="--with-table-passwd --with-table-ldap --with-table-mysql
--with-table-postgres --with-table-socketmap --with-table-sqlite"
hostmakedepends="automake libtool"
makedepends="openssl-devel libevent-devel postgresql-libs-devel
libmariadbclient-devel sqlite-devel"
depends="opensmtpd"
short_desc="Free implementation of the server-side SMTP protocol - extras"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="ISC"
homepage="https://www.opensmtpd.org"
distfiles="https://www.opensmtpd.org/archives/${pkgname}-${version}.tar.gz"
checksum=126b023602e8bb222bf24543a056ee0a548343dc86d184669ff9d82dfca1fbdf
patch_args=-Np0
CFLAGS="-D_DEFAULT_SOURCE"
pre_configure() {
touch NEWS README AUTHORS ChangeLog
autoreconf -fi
}