nuke $Id$ in /packages as well
[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 include $(INCLUDE_DIR)/package.mk
19
20 define Package/miau
21   SUBMENU:=Instant Messaging
22   SECTION:=net
23   CATEGORY:=Network
24   TITLE:=Another IRC-bouncer/proxy
25   URL:=http://sourceforge.net/projects/miau/
26 endef
27
28 define Package/miau/description
29         In short, miau is an IRC-bouncer/proxy.
30         Being more verbose, miau is small but quite featured 
31         IRC-bouncer - a service bit like HTTP-proxy, but 
32         for IRC-networks.
33 endef
34
35 CONFIGURE_ARGS += \
36         --enable-automode \
37         --enable-releasenick \
38         --enable-uptime \
39         --enable-privlog \
40         --enable-onconnect
41
42 MAKE_FLAGS += \
43         DESTDIR="$(PKG_INSTALL_DIR)" \
44         all install
45
46 define Package/miau/install     
47         $(INSTALL_DIR) $(1)/usr/bin     
48         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
49         $(INSTALL_DIR) $(1)/etc/init.d
50         $(INSTALL_DIR) $(1)/etc/default
51         $(INSTALL_DIR) $(1)/etc/miau
52         $(INSTALL_BIN) ./files/miau.init $(1)/etc/init.d/miau
53         $(INSTALL_DATA) ./files/miau $(1)/etc/default/miau
54         $(INSTALL_DATA) ./files/miaurc $(1)/etc/miau/miaurc
55 endef
56
57 $(eval $(call BuildPackage,miau))