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

39 lines
1.3 KiB
Bash
Raw Normal View History

# Template file for 'dovecot-plugin-pigeonhole'
2015-08-06 22:24:48 +02:00
pkgname=dovecot-plugin-pigeonhole
version=0.4.14
revision=1
2015-08-06 22:24:48 +02:00
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
--with-ldap=plugin
--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"
hostmakedepends="libldap-devel"
makedepends="dovecot-devel libressl-devel libldap-devel"
2015-08-06 22:24:48 +02:00
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/${wrksrc}.tar.gz"
checksum=dff30a636c1516158f3e159c669a254569c9dabaa6ecfa3669379101ea5b3300
2015-08-06 22:24:48 +02:00
dovecot-plugin-pigeonhole-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
2015-08-06 22:24:48 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include/dovecot
}
}
dovecot-plugin-pigeonhole-ldap_package() {
short_desc+=" - ldap plugin"
pkg_install() {
vmove usr/lib/dovecot/modules/sieve/lib10_sieve_storage_ldap_plugin.so
vmove usr/share/doc/dovecot/sieve/locations/ldap.txt
}
}