adding dovecot-devel package

This commit is contained in:
John Regan 2015-08-06 16:22:28 -04:00
parent bc5200d886
commit 1d1e3929f4
2 changed files with 13 additions and 5 deletions

1
srcpkgs/dovecot-devel Symbolic link
View File

@ -0,0 +1 @@
dovecot

View File

@ -1,7 +1,7 @@
# Template file for 'dovecot'
pkgname=dovecot
version=2.2.18
revision=7
revision=8
build_style=gnu-configure
configure_args="--with-moduledir=/usr/lib/dovecot/modules --with-sql=plugin
--disable-static --with-pam --with-mysql --with-pgsql
@ -88,13 +88,20 @@ post_install() {
vinstall doc/mkcert.sh 755 usr/bin dovecot-mkcert.sh
rm ${DESTDIR}/etc/dovecot/README
# Remove development stuff.
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/share/aclocal
vsv dovecot
}
dovecot-devel_package() {
depends="dovecot>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/aclocal
vmove usr/lib/dovecot/dovecot-config
}
}
dovecot-plugin-ldap_package() {
depends="dovecot>=${version}"
short_desc+=" - LDAP plugin"