[packages] Use default templates instead of custom reimplementations where applicable
[packages.git] / net / miau / Makefile
1 #
2 # Copyright (C) 2006 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:=miau
11 PKG_VERSION:=0.6.5
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=@SF/miau
16 PKG_MD5SUM:=cbce4182d66430a965a5fff26738ce3f
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/miau
23   SUBMENU:=Instant Messaging
24   SECTION:=net
25   CATEGORY:=Network
26   TITLE:=Another IRC-bouncer/proxy
27   URL:=http://sourceforge.net/projects/miau/
28 endef
29
30 define Package/miau/description
31         In short, miau is an IRC-bouncer/proxy.
32         Being more verbose, miau is small but quite featured 
33         IRC-bouncer - a service bit like HTTP-proxy, but 
34         for IRC-networks.
35 endef
36
37 CONFIGURE_ARGS += \
38         --enable-automode \
39         --enable-releasenick \
40         --enable-uptime \
41         --enable-privlog \
42         --enable-onconnect
43
44 define Package/miau/install
45         $(INSTALL_DIR) $(1)/usr/bin
46         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
47         $(INSTALL_DIR) $(1)/etc/init.d
48         $(INSTALL_DIR) $(1)/etc/default
49         $(INSTALL_DIR) $(1)/etc/miau
50         $(INSTALL_BIN) ./files/miau.init $(1)/etc/init.d/miau
51         $(INSTALL_DATA) ./files/miau $(1)/etc/default/miau
52         $(INSTALL_DATA) ./files/miaurc $(1)/etc/miau/miaurc
53 endef
54
55 $(eval $(call BuildPackage,miau))