cyrus-sasl: create libsasl2-utils package for programs
Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
parent
c399f7b94a
commit
2a9aa5721b
1 changed files with 13 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=cyrus-sasl
|
PKG_NAME:=cyrus-sasl
|
||||||
PKG_VERSION:=2.1.28
|
PKG_VERSION:=2.1.28
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||||
|
|
||||||
|
@ -47,6 +47,12 @@ define Package/libsasl2-sasldb
|
||||||
TITLE+= (sasldb libraries)
|
TITLE+= (sasldb libraries)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/libsasl2-utils
|
||||||
|
$(call Package/libsasl2/Default)
|
||||||
|
DEPENDS:=+libsasl2 +libdb47
|
||||||
|
TITLE+= (sasldb utilities)
|
||||||
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
@ -132,5 +138,11 @@ define Package/libsasl2-sasldb/install
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sasl2/libsasldb.so* $(1)/usr/lib/sasl2/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sasl2/libsasldb.so* $(1)/usr/lib/sasl2/
|
||||||
endef
|
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))
|
||||||
$(eval $(call BuildPackage,libsasl2-sasldb))
|
$(eval $(call BuildPackage,libsasl2-sasldb))
|
||||||
|
$(eval $(call BuildPackage,libsasl2-utils))
|
||||||
|
|
Loading…
Reference in a new issue