Makefile cleanups, round 6 and last
[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
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/dircproxy
22 SUBMENU:=Instant Messaging
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=An IRC proxy server
26 URL:=http://dircproxy.securiweb.net/
27 endef
28
29 # uses Build/Configure/Default
30
31 define Build/Compile
32 $(MAKE) -C $(PKG_BUILD_DIR) \
33 DESTDIR="$(PKG_INSTALL_DIR)" \
34 all install
35 endef
36
37 define Package/dircproxy/install
38 $(INSTALL_DIR) $(1)/usr/bin
39 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dircproxy{,-crypt} $(1)/usr/bin/
40 endef
41
42 $(eval $(call BuildPackage,dircproxy))