From 8e1460a1d431d0cf8cb29499dc0779c4f3594af4 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 25 May 2009 20:11:13 +0000 Subject: [PATCH] [package] add uhub (#4977) SVN-Revision: 16069 --- net/uhub/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 net/uhub/Makefile diff --git a/net/uhub/Makefile b/net/uhub/Makefile new file mode 100644 index 0000000000..0046e1c068 --- /dev/null +++ b/net/uhub/Makefile @@ -0,0 +1,42 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=uhub +PKG_VERSION:=0.2.8 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz +PKG_SOURCE_URL:=http://www.extatic.org/downloads/uhub/ +PKG_MD5SUM:=45d35d9757bc0a84297dec51520f725b + +include $(INCLUDE_DIR)/package.mk + +define Package/uhub + SUBMENU:=P2P + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libevent + TITLE:=High performance ADC hub + URL:=http://www.extatic.org/uhub/ +endef + +define Package/uhub/description + uhub is a high performance peer-to-peer hub for the ADC network. + Its low memory footprint allows it to handle several thousand users + on high-end servers, or a small private hub on embedded hardware. +endef + +define Package/uhub/install + $(INSTALL_DIR) $(1)/usr/local/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/uhub $(1)/usr/local/bin/ + $(INSTALL_DIR) $(1)/etc/uhub/ + $(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/uhub.conf $(1)/etc/uhub/ +endef + +$(eval $(call BuildPackage,uhub)) -- 2.30.2