void-packages/srcpkgs/opendkim/template

31 lines
803 B
Bash

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