summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2015-05-15 19:05:29 +0000
committerDaniel Golle2015-05-15 19:05:59 +0000
commitaecf7641ca880effe7d2bce01723bf6fdd16aba8 (patch)
tree21c782c23c2e28353b4eff524c14f9d22e291967
parentb917a9035a940333a8fbc117c04a2a643ea3b899 (diff)
downloadrouting-aecf7641ca880effe7d2bce01723bf6fdd16aba8.tar.gz
cjdns: package test cases
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--cjdns/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/cjdns/Makefile b/cjdns/Makefile
index ebdde41..63bc0da 100644
--- a/cjdns/Makefile
+++ b/cjdns/Makefile
@@ -49,6 +49,20 @@ define Package/cjdns/description
of the security and scalability issues that plague existing networks.
endef
+define Package/cjdns-tests
+ SECTION:=net
+ CATEGORY:=Network
+ SUBMENU:=Routing and Redirection
+ TITLE:=cjdns test cases
+ URL:=https://github.com/hyperboria/cjdns
+ MAINTAINER:=Lars Gierth <larsg@systemli.org>
+ DEPENDS:=+libpthread +librt
+endef
+
+define Package/cjdns-test/description
+ cjdns test cases
+endef
+
define Build/Configure
endef
@@ -118,4 +132,12 @@ if [ -z $${IPKG_INSTROOT} ] ; then
fi
endef
+define Package/cjdns-tests/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) \
+ $(PKG_BUILD_DIR)/build_linux/test_testcjdroute_c \
+ $(1)/usr/bin
+endef
+
$(eval $(call BuildPackage,cjdns))
+$(eval $(call BuildPackage,cjdns-tests))