aca28b4598f6d0a7f40f2afce0d29037ea294e99
[openwrt/svn-archive/archive.git] / net / dircproxy / Makefile
1 #
2 # Copyright (C) 2006,2007 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:=dircproxy
11 PKG_VERSION:=1.2.0-RC1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://dircproxy.googlecode.com/files/
16 PKG_MD5SUM:=4fe2e82619c7b575599bfb236adbd872
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/dircproxy
21 SUBMENU:=Instant Messaging
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=An IRC proxy server
25 URL:=http://dircproxy.googlecode.com/
26 endef
27
28 # uses Build/Configure/Default
29
30 define Build/Compile
31 $(MAKE) -C $(PKG_BUILD_DIR) \
32 DESTDIR="$(PKG_INSTALL_DIR)" \
33 all install
34 endef
35
36 define Package/dircproxy/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dircproxy{,-crypt} $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,dircproxy))