2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=ftp
://ngircd.barton.de
/pub
/ngircd
/
17 PKG_MD5SUM
:=db8618877a4dd5fb2be50402a2cb4a14
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
22 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=Next Generation IRC Server
29 URL
:=http
://ngircd.barton.de
32 define Package
/ngircd
/description
33 ngIRCd is an Open Source server for the Internet Relay Chat
(IRC
), which
34 is developed and published under the terms of the GNU General Public Licence.
35 ngIRCd means
"next generation IRC daemon", it
's written from scratch and
36 not deduced from the "grandfather of IRC daemons", the daemon of the IRCNet.
39 define Build/Configure
40 $(call Build/Configure/Default)
44 $(MAKE) -C $(PKG_BUILD_DIR) \
45 DESTDIR="$(PKG_INSTALL_DIR)" \
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/
56 $(eval $(call BuildPackage,ngircd))