Category reorganization
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=dircproxy
12 PKG_VERSION:=1.2.0-beta2
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz
16 PKG_SOURCE_URL:=http://dircproxy.securiweb.net/pub/1.2/
17 PKG_MD5SUM:=850443437f709276ff21a173bbf98456
18 PKG_CAT:=bzcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/dircproxy
26 SUBMENU:=Instant Messaging
27 SECTION:=net
28 CATEGORY:=Network
29 TITLE:=An IRC proxy server
30 URL:=http://dircproxy.securiweb.net/
31 endef
32
33 # uses Build/Configure/Default
34
35 define Build/Compile
36 $(MAKE) -C $(PKG_BUILD_DIR) \
37 DESTDIR="$(PKG_INSTALL_DIR)" \
38 all install
39 endef
40
41 define Package/dircproxy/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(CP) $(PKG_INSTALL_DIR)/usr/bin/dircproxy{,-crypt} $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,dircproxy))