void-packages/srcpkgs/opendkim/template

38 lines
945 B
Bash

# Template file for 'opendkim'
pkgname=opendkim
version=2.10.3
revision=15
build_style=gnu-configure
configure_args="--with-milter=${XBPS_CROSS_BASE}/usr"
hostmakedepends="pkg-config automake gettext libtool"
makedepends="libbsd-devel openssl-devel libmd-devel libmilter-devel"
depends="perl"
short_desc="DKIM library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause, Sendmail"
homepage="http://www.opendkim.org"
distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=43a0ba57bf942095fe159d0748d8933c6b1dd1117caf0273fa9a0003215e681b
python_version=3
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
vlicense LICENSE.Sendmail
vsv opendkim
}
opendkim-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}