38 lines
1.2 KiB
Bash
38 lines
1.2 KiB
Bash
# Template file for 'dovecot-plugin-pigeonhole'
|
|
pkgname=dovecot-plugin-pigeonhole
|
|
version=0.5.21
|
|
revision=2
|
|
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 openssl-devel libldap-devel"
|
|
short_desc="Sieve implementation for Dovecot"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://pigeonhole.dovecot.org"
|
|
distfiles="${homepage}/releases/2.3/dovecot-2.3-pigeonhole-${version}.tar.gz"
|
|
checksum=1ca71d2659076712058a72030288f150b2b076b0306453471c5261498d3ded27
|
|
|
|
dovecot-plugin-pigeonhole-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
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
|
|
}
|
|
}
|