void-packages/srcpkgs/dovecot-plugin-pigeonhole/template

31 lines
1.1 KiB
Bash

# Template file for 'dovecot-plugin-pigeonhole'
pkgname=dovecot-plugin-pigeonhole
# make sure this matches the current dovecot
_dovecot_ver=2.2.19
version=0.4.9
revision=2
wrksrc="dovecot-2.2-pigeonhole-${version}"
build_style=gnu-configure
configure_args="--prefix=/usr
--with-dovecot=${XBPS_CROSS_BASE}/usr/lib/dovecot
--with-moduledir=/usr/lib/dovecot/modules
--disable-static"
# Hack around dovecot-config for cross building.
make_build_args="LIBDOVECOT_INCLUDE=-I${XBPS_CROSS_BASE}/usr/include/dovecot
LIBS=-L${XBPS_CROSS_BASE}/usr/lib/dovecot"
makedepends="dovecot-devel libressl-devel"
short_desc="Sieve implementation for Dovecot"
maintainer="John Regan <john@jrjrtech.com>"
license="LGPL-2.1"
homepage="http://pigeonhole.dovecot.org"
distfiles="${homepage}/releases/2.2/dovecot-2.2-pigeonhole-${version}.tar.gz"
checksum=82892f876d26008a076973dfddf1cffaf5a0451825fd44e06287e94b89078649
dovecot-plugin-pigeonhole-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include/dovecot
}
}