branch Attitude Adjustment packages
[12.09/packages.git] / net / miau / Makefile
1 #
2 # Copyright (C) 2006-2011 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.6
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=@SF/miau
16 PKG_MD5SUM:=8778b8564c679cf5487b1972ca0b35e4
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://miau.sourceforge.net/
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 define Package/miau/conffiles
38 /etc/miau/miaurc
39 endef
40
41 CONFIGURE_ARGS += \
42         --enable-automode \
43         --enable-releasenick \
44         --enable-uptime \
45         --enable-privlog \
46         --enable-onconnect
47
48 define Package/miau/install
49         $(INSTALL_DIR) $(1)/usr/bin
50         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
51         $(INSTALL_DIR) $(1)/etc/init.d
52         $(INSTALL_DIR) $(1)/etc/miau
53         $(INSTALL_BIN) ./files/miau.init $(1)/etc/init.d/miau
54         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/doc/miau/examples/miaurc $(1)/etc/miau/
55 endef
56
57 $(eval $(call BuildPackage,miau))