aboutsummaryrefslogtreecommitdiff
path: root/libs/elektra/Makefile
diff options
context:
space:
mode:
authorHarald Geyer <harald@ccbib.org>2016-09-02 07:03:27 +0000
committerHarald Geyer <harald@ccbib.org>2016-09-02 07:05:24 +0000
commit53898764273c5dfea3a552cf7d7dc444d0bda7d4 (patch)
treeb6d5e606cf25c6e441bc67179e8915bb61cd5f31 /libs/elektra/Makefile
parent4944d6e1b55b3e321f559ae0779f00213a246d6f (diff)
elektra: fix build error
* Move curlget plugin to its own package with proper dependencies * Fix abuse of 'foreach' in the Makefile which masked the above issue Signed-off-by: Harald Geyer <harald@ccbib.org>
Diffstat (limited to 'libs/elektra/Makefile')
-rw-r--r--libs/elektra/Makefile24
1 files changed, 21 insertions, 3 deletions
diff --git a/libs/elektra/Makefile b/libs/elektra/Makefile
index 60b84c57e..907790484 100644
--- a/libs/elektra/Makefile
+++ b/libs/elektra/Makefile
@@ -15,7 +15,7 @@ PKG_NAME:=elektra
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=doc/COPYING
PKG_VERSION:=0.8.17
-PKG_RELEASE:=1
+PKG_RELEASE:=2
# Use this for official releasees
PKG_MD5SUM:=e53efdb9a5e0852c58b21280b1e6c07d
@@ -97,7 +97,7 @@ define Package/libelektra-plugins
endef
define CONTENT_ELEKTRA_PLUGINS_TEXT
-cachefilter ccode conditionals csvstorage curlget enum filecheck glob
+cachefilter ccode conditionals csvstorage enum filecheck glob
hexcode hidden hosts iconv keytometa line lineendings list mathcheck
network null path profile shell syslog uname validation
endef
@@ -154,6 +154,18 @@ $(call Package/libelektra/Default-description)
This package contains support for encrypting values before storage.
endef
+define Package/libelektra-curlget
+ $(call Package/libelektra/Default)
+ TITLE:=Elektra curlget plugin
+ DEPENDS:=+libelektra-core +libcurl
+endef
+
+define Package/libelektra-curlget/description
+$(call Package/libelektra/Default-description)
+
+This plugin can get configuration data from remote URLs before access.
+endef
+
define Package/libelektra-dbus
$(call Package/libelektra/Default)
TITLE:=Elektra dbus plugin
@@ -302,7 +314,7 @@ endef
define Package/libelektra-plugins/install
$(INSTALL_DIR) $(1)/usr/lib/
- $(foreach plugin,$(CONTENT_ELEKTRA_PLUGINS),$(CP) $(PKG_INSTALL_DIR)/usr/lib/libelektra-$(plugin).so $(1)/usr/lib/;)
+ $(CP) $(foreach plugin,$(CONTENT_ELEKTRA_PLUGINS),$(PKG_INSTALL_DIR)/usr/lib/libelektra-$(plugin).so) $(1)/usr/lib/
endef
define Package/libelektra-boost/install
@@ -320,6 +332,11 @@ define Package/libelektra-crypto/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libelektra-crypto_openssl.so $(1)/usr/lib/
endef
+define Package/libelektra-curlget/install
+ $(INSTALL_DIR) $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libelektra-curlget.so $(1)/usr/lib/
+endef
+
define Package/libelektra-dbus/install
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libelektra-dbus.so $(1)/usr/lib/
@@ -370,6 +387,7 @@ $(eval $(call BuildPackage,libelektra-resolvers))
$(eval $(call BuildPackage,libelektra-plugins))
$(eval $(call BuildPackage,libelektra-boost))
$(eval $(call BuildPackage,libelektra-cpp))
+$(eval $(call BuildPackage,libelektra-curlget))
$(eval $(call BuildPackage,libelektra-crypto))
$(eval $(call BuildPackage,libelektra-dbus))
$(eval $(call BuildPackage,libelektra-xml))