aboutsummaryrefslogtreecommitdiff
path: root/net/sysrepo/Makefile
diff options
context:
space:
mode:
authorMislav Novakovic <mislav.novakovic@sartura.hr>2017-05-24 17:08:19 +0200
committerMislav Novakovic <mislav.novakovic@sartura.hr>2017-05-24 17:38:27 +0200
commit0aa8371086e577aa6610b4a9e7fd38bbad580a77 (patch)
tree434cac49035593791830c947cb0857f64e400f6b /net/sysrepo/Makefile
parent835c56a4ccd9f26b314ffc3b18bc1c4c41afc092 (diff)
sysrepo: merge sysrepod and sysrepo-plugind
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
Diffstat (limited to 'net/sysrepo/Makefile')
-rw-r--r--net/sysrepo/Makefile30
1 files changed, 8 insertions, 22 deletions
diff --git a/net/sysrepo/Makefile b/net/sysrepo/Makefile
index bfae426f3..11deab63b 100644
--- a/net/sysrepo/Makefile
+++ b/net/sysrepo/Makefile
@@ -38,11 +38,11 @@ define Package/libsysrepo
DEPENDS:=+libyang +libprotobuf-c +libev +libavl
endef
-define Package/sysrepod
+define Package/sysrepo
SECTION:=util
CATEGORY:=Utilities
URL:=$(PKG_SOURCE_URL)
- TITLE:=YANG-based data store daemon
+ TITLE:=YANG-based data store daemon and plugin
DEPENDS:=+libsysrepo
endef
@@ -62,14 +62,6 @@ define Package/sysrepocfg
DEPENDS:=+libsysrepo
endef
-define Package/sysrepo-plugind
- SECTION:=util
- CATEGORY:=Utilities
- URL:=$(PKG_SOURCE_URL)
- TITLE:=sysrepo plugin daemon
- DEPENDS:=+libsysrepo
-endef
-
define Package/sysrepo/description
Sysrepo is an YANG-based configuration and operational state data store for Unix/Linux applications.
endef
@@ -107,12 +99,15 @@ define Package/libsysrepo/install
$(INSTALL_BIN) ./files/libsysrepo.default $(1)/etc/uci-defaults/95_libsysrepo
endef
-define Package/sysrepod/install
+define Package/sysrepo/install
$(INSTALL_DIR) $(1)/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sysrepod $(1)/bin/
+ $(INSTALL_DIR) $(1)/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sysrepo-plugind $(1)/bin/
+
$(INSTALL_DIR) $(1)/etc/init.d/
- $(INSTALL_BIN) ./files/sysrepod.init $(1)/etc/init.d/sysrepod
+ $(INSTALL_BIN) ./files/sysrepo.init $(1)/etc/init.d/sysrepo
endef
define Package/sysrepoctl/install
@@ -125,16 +120,7 @@ define Package/sysrepocfg/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sysrepocfg $(1)/bin/
endef
-define Package/sysrepo-plugind/install
- $(INSTALL_DIR) $(1)/bin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sysrepo-plugind $(1)/bin/
-
- $(INSTALL_DIR) $(1)/etc/init.d/
- $(INSTALL_BIN) ./files/sysrepo-plugind.init $(1)/etc/init.d/sysrepo-plugind
-endef
-
$(eval $(call BuildPackage,libsysrepo))
-$(eval $(call BuildPackage,sysrepod))
+$(eval $(call BuildPackage,sysrepo))
$(eval $(call BuildPackage,sysrepoctl))
$(eval $(call BuildPackage,sysrepocfg))
-$(eval $(call BuildPackage,sysrepo-plugind))