2015-10-05 14:46:28 +02:00
|
|
|
# Template file for 'dovecot-plugin-pigeonhole'
|
2015-08-06 22:24:48 +02:00
|
|
|
pkgname=dovecot-plugin-pigeonhole
|
2016-03-18 09:49:12 +01:00
|
|
|
version=0.4.13
|
2016-04-26 19:36:02 +02:00
|
|
|
revision=3
|
2015-08-06 22:24:48 +02:00
|
|
|
wrksrc="dovecot-2.2-pigeonhole-${version}"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--prefix=/usr
|
2016-01-03 16:10:45 +01:00
|
|
|
--with-dovecot=${XBPS_CROSS_BASE}/usr/lib/dovecot
|
|
|
|
--with-moduledir=/usr/lib/dovecot/modules
|
2016-02-21 00:42:30 +01:00
|
|
|
--with-ldap=plugin
|
2016-01-03 16:10:45 +01:00
|
|
|
--disable-static"
|
2015-10-05 15:14:13 +02:00
|
|
|
# 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"
|
2016-02-21 00:42:30 +01:00
|
|
|
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"
|
2016-01-08 09:41:35 +01:00
|
|
|
distfiles="${homepage}/releases/2.2/${wrksrc}.tar.gz"
|
2016-03-18 09:49:12 +01:00
|
|
|
checksum=7fd187b8393a5048b302f90ad84adc7bf6e73bf79fd8d22a1c1aaa71f836a910
|
2015-08-06 22:24:48 +02:00
|
|
|
|
|
|
|
dovecot-plugin-pigeonhole-devel_package() {
|
2015-10-05 16:46:20 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2015-08-06 22:24:48 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/dovecot
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-21 00:42:30 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|