packages/ushare: add /etc/config/ushare to conffiles define
[openwrt/svn-archive/archive.git] / net / uhub / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=uhub
11 PKG_VERSION:=0.2.8
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
15 PKG_SOURCE_URL:=http://www.extatic.org/downloads/uhub/
16 PKG_MD5SUM:=45d35d9757bc0a84297dec51520f725b
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/uhub
21 SUBMENU:=P2P
22 SECTION:=net
23 CATEGORY:=Network
24 DEPENDS:=+libevent
25 TITLE:=High performance ADC hub
26 URL:=http://www.extatic.org/uhub/
27 endef
28
29 define Package/uhub/description
30 uhub is a high performance peer-to-peer hub for the ADC network.
31 Its low memory footprint allows it to handle several thousand users
32 on high-end servers, or a small private hub on embedded hardware.
33 endef
34
35 define Package/uhub/install
36 $(INSTALL_DIR) $(1)/usr/local/bin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/uhub $(1)/usr/local/bin/
38 $(INSTALL_DIR) $(1)/etc/uhub/
39 $(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/uhub.conf $(1)/etc/uhub/
40 endef
41
42 $(eval $(call BuildPackage,uhub))