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