void-packages/srcpkgs/opendkim/template
2021-03-05 22:03:19 +01:00

36 lines
925 B
Bash

# Template file for 'opendkim'
pkgname=opendkim
version=2.10.3
revision=12
build_style=gnu-configure
configure_args="--with-milter=${XBPS_CROSS_BASE}/usr"
hostmakedepends="pkg-config automake gettext libtool"
makedepends="libbsd-devel openssl-devel libmilter-devel"
short_desc="DKIM library"
maintainer="John Regan <john@jrjrtech.com>"
license="BSD-3-Clause, Sendmail"
homepage="http://www.opendkim.org"
distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=43a0ba57bf942095fe159d0748d8933c6b1dd1117caf0273fa9a0003215e681b
python_version=2 #unverified
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
}
}