Merge pull request #99 from dangowrt/add-cjdns-tests

cjdns: package test cases
This commit is contained in:
Lars 2015-05-17 23:25:42 +02:00
commit 6b8165cc1c

View file

@ -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))