void-packages/srcpkgs/opensmtpd-extras/template

26 lines
875 B
Bash

# Template file for 'opensmtpd-extras'
pkgname=opensmtpd-extras
version=6.6.0
revision=1
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="libressl-devel libevent-devel postgresql-libs-devel
libmysqlclient-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
CFLAGS="-D_DEFAULT_SOURCE"
pre_configure() {
touch NEWS README AUTHORS ChangeLog
autoreconf -fi
}