[package] update ngircd to 14.1 (#4982)
[packages.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:=14.1
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:=eef90855414c35bfb6590d17e24ee06f
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 Build/Configure
36         $(call Build/Configure/Default)
37 endef
38
39 define Build/Compile
40         $(MAKE) -C $(PKG_BUILD_DIR) \
41                 DESTDIR="$(PKG_INSTALL_DIR)" \
42                 all install
43 endef
44
45 define Package/ngircd/install
46         $(INSTALL_DIR) $(1)/usr/sbin
47         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ngircd $(1)/usr/sbin/
48         $(INSTALL_DIR) $(1)/etc
49         $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/ngircd.conf $(1)/etc/
50 endef
51
52 $(eval $(call BuildPackage,ngircd))