nuke $Id$ in /packages as well
[packages.git] / net / opendchub / Makefile
1 #
2 # Copyright (C) 2006 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:=opendchub
11 PKG_VERSION:=0.7.15
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/opendchub
16 PKG_MD5SUM:=8f9ab5bb7f85730f4b1ce7cceb6aef96
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/opendchub
21   SUBMENU:=P2P
22   SECTION:=net
23   CATEGORY:=Network
24   DEPENDS:=+libopenssl +libpthread
25   TITLE:=software for the Direct Connect network
26   URL:=http://opendchub.sourceforge.net
27 endef
28
29 define Package/opendchub/description
30         Open DC hub is a Unix/Linux version of the hub software
31         for the Direct Connect network
32 endef
33
34 define Build/Configure
35         $(call Build/Configure/Default,\
36                 --disable-perl \
37         )
38 endef
39
40 define Build/Compile    
41         $(call Build/Compile/Default,\
42                 DESTDIR="$(PKG_INSTALL_DIR)" \
43                 all install \
44         )
45 endef
46
47 define Package/opendchub/install        
48         $(INSTALL_DIR) $(1)/usr/bin
49         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/opendchub $(1)/usr/bin/
50 endef
51
52 $(eval $(call BuildPackage,opendchub))