-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
37 lines (35 loc) · 1.31 KB
/
template
File metadata and controls
37 lines (35 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Template file for 'dovecot-plugin-pigeonhole'
pkgname=dovecot-plugin-pigeonhole
version=2.4.3
revision=1
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="dovecot-devel libldap-devel perl python3"
makedepends="dovecot-devel dovecot-plugin-ldap libldap-devel openssl-devel"
short_desc="Sieve implementation for Dovecot"
maintainer="Leah Neukirchen <[email protected]>"
license="LGPL-2.1-or-later"
homepage="https://pigeonhole.dovecot.org"
distfiles="https://pigeonhole.dovecot.org/releases/2.4/dovecot-pigeonhole-${version//r/-}.tar.gz"
checksum=219c472a5fa3e6f7a6cb76ff5118bcbead73e14cd4157d3701425245756cb5f8
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
}
}