c41d539449e0e04622423fe0092957c1737f9ae8
[openwrt/svn-archive/archive.git] / net / ngircd / Makefile
1 #
2 # Copyright (C) 2008 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:=ngircd
11 PKG_VERSION:=15
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=ftp://ngircd.barton.de/pub/ngircd/
16 PKG_MD5SUM:=c183a85eba6fe51255983848f099c8ae
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/ngircd
21 SECTION:=net
22 CATEGORY:=Network
23 DEPENDS:=+zlib
24 TITLE:=Next Generation IRC Server
25 URL:=http://ngircd.barton.de
26 endef
27
28 define Package/ngircd/description
29 ngIRCd is an Open Source server for the Internet Relay Chat (IRC), which
30 is developed and published under the terms of the GNU General Public Licence.
31 ngIRCd means "next generation IRC daemon", it's written from scratch and
32 not deduced from the "grandfather of IRC daemons", the daemon of the IRCNet.
33 endef
34
35 define Package/ngircd/conffiles
36 /etc/ngircd.conf
37 endef
38
39 define Build/Configure
40 $(call Build/Configure/Default)
41 endef
42
43 define Build/Compile
44 $(MAKE) -C $(PKG_BUILD_DIR) \
45 DESTDIR="$(PKG_INSTALL_DIR)" \
46 all install
47 endef
48
49 define Package/ngircd/install
50 $(INSTALL_DIR) $(1)/usr/sbin
51 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ngircd $(1)/usr/sbin/
52 $(INSTALL_DIR) $(1)/etc
53 $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/ngircd.conf $(1)/etc/
54 endef
55
56 $(eval $(call BuildPackage,ngircd))