Updated miau to 0.6.5, closes #2812
[openwrt/svn-archive/archive.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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=miau
12 PKG_VERSION:=0.6.5
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=@SF/miau
17 PKG_MD5SUM:=cbce4182d66430a965a5fff26738ce3f
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/miau
25 SUBMENU:=Instant Messaging
26 SECTION:=net
27 CATEGORY:=Network
28 TITLE:=Another IRC-bouncer/proxy
29 URL:=http://sourceforge.net/projects/miau/
30 endef
31
32 define Package/miau/description
33 In short, miau is an IRC-bouncer/proxy.
34 Being more verbose, miau is small but quite featured
35 IRC-bouncer - a service bit like HTTP-proxy, but
36 for IRC-networks.
37 endef
38
39 CONFIGURE_ARGS += \
40 --enable-automode \
41 --enable-releasenick \
42 --enable-uptime \
43 --enable-privlog \
44 --enable-onconnect
45
46 MAKE_FLAGS += \
47 DESTDIR="$(PKG_INSTALL_DIR)" \
48 all install
49
50 define Package/miau/install
51 $(INSTALL_DIR) $(1)/usr/bin
52 $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
53 $(INSTALL_DIR) $(1)/etc/init.d
54 $(INSTALL_DIR) $(1)/etc/default
55 $(INSTALL_DIR) $(1)/etc/miau
56 $(INSTALL_BIN) ./files/miau.init $(1)/etc/init.d/miau
57 $(INSTALL_DATA) ./files/miau $(1)/etc/default/miau
58 $(INSTALL_DATA) ./files/miaurc $(1)/etc/miau/miaurc
59 endef
60
61 $(eval $(call BuildPackage,miau))