From: W. Michael Petullo Date: Wed, 5 Jul 2017 01:17:04 +0000 (-0400) Subject: dovecot: install libraries to allow building plugins X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=e584683c247f2e49ebc3af1d72fad1b27da7df46;p=feed%2Fpackages.git dovecot: install libraries to allow building plugins Signed-off-by: W. Michael Petullo --- diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index bf7a16b2bb..4a8e99deb4 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dovecot PKG_VERSION:=2.2.31 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.dovecot.org/releases/2.2 @@ -78,6 +78,14 @@ CONFIGURE_VARS += \ lib_cv___va_copy=yes \ lib_cv_va_val_copy=yes +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/include/dovecot $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/dovecot $(1)/usr/lib/ + rm -f $(1)/usr/lib/dovecot/*.la +endef + + define Package/dovecot/install $(INSTALL_DIR) $(1)/etc/init.d \ $(1)/etc/dovecot \