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