diff options
| author | W. Michael Petullo <mike@flyn.org> | 2023-12-10 18:11:37 -0600 |
|---|---|---|
| committer | Tianling Shen <cnsztl@gmail.com> | 2023-12-13 14:13:48 +0800 |
| commit | 2a9aa5721be7ad694561150b371ad4617dad412c (patch) | |
| tree | 9880479d4b6ed3f3c53535353cbb9c5404c67a76 | |
| parent | c399f7b94a9ddf98100542157b25df1d5cfe533b (diff) | |
cyrus-sasl: create libsasl2-utils package for programs
Signed-off-by: W. Michael Petullo <mike@flyn.org>
| -rw-r--r-- | libs/cyrus-sasl/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/libs/cyrus-sasl/Makefile b/libs/cyrus-sasl/Makefile index 88964f5ff..b39d46c25 100644 --- a/libs/cyrus-sasl/Makefile +++ b/libs/cyrus-sasl/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cyrus-sasl PKG_VERSION:=2.1.28 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> @@ -47,6 +47,12 @@ define Package/libsasl2-sasldb TITLE+= (sasldb libraries) endef +define Package/libsasl2-utils + $(call Package/libsasl2/Default) + DEPENDS:=+libsasl2 +libdb47 + TITLE+= (sasldb utilities) +endef + TARGET_CFLAGS += $(FPIC) CONFIGURE_ARGS += \ --enable-shared \ @@ -132,5 +138,11 @@ define Package/libsasl2-sasldb/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/sasl2/libsasldb.so* $(1)/usr/lib/sasl2/ endef +define Package/libsasl2-utils/install + $(INSTALL_DIR) $(1)/usr/sbin/ + $(CP) $(PKG_INSTALL_DIR)/usr/sbin/{pluginviewer,sasldblistusers2,saslpasswd2} $(1)/usr/sbin/ +endef + $(eval $(call BuildPackage,libsasl2)) $(eval $(call BuildPackage,libsasl2-sasldb)) +$(eval $(call BuildPackage,libsasl2-utils)) |
