#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=miau
-PKG_VERSION:=0.6.3
+PKG_VERSION:=0.6.6
PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/miau
-PKG_MD5SUM:=ddc69b54c3c74adc5e5b45aa62e1f4e2
-PKG_CAT:=zcat
+PKG_MD5SUM:=8778b8564c679cf5487b1972ca0b35e4
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/miau
+ SUBMENU:=Instant Messaging
SECTION:=net
CATEGORY:=Network
TITLE:=Another IRC-bouncer/proxy
- DESCRIPTION:=\
- In short, miau is an IRC-bouncer/proxy.\\\
- Being more verbose, miau is small but quite featured \\\
- IRC-bouncer - a service bit like HTTP-proxy, but \\\
- for IRC-networks.
- URL:=http://sourceforge.net/projects/miau/
+ URL:=http://miau.sourceforge.net/
endef
-define Build/Configure
- $(call Build/Configure/Default, \
- --enable-automode \
- --enable-releasenick \
- --enable-uptime \
- --enable-privlog \
- --enable-onconnect \
- )
+define Package/miau/description
+ In short, miau is an IRC-bouncer/proxy.
+ Being more verbose, miau is small but quite featured
+ IRC-bouncer - a service bit like HTTP-proxy, but
+ for IRC-networks.
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
+define Package/miau/conffiles
+/etc/miau/miaurc
endef
-define Package/miau/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
+CONFIGURE_ARGS += \
+ --enable-automode \
+ --enable-releasenick \
+ --enable-uptime \
+ --enable-privlog \
+ --enable-onconnect
+
+define Package/miau/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/init.d
- $(INSTALL_DIR) $(1)/etc/default
$(INSTALL_DIR) $(1)/etc/miau
$(INSTALL_BIN) ./files/miau.init $(1)/etc/init.d/miau
- $(INSTALL_DATA) ./files/miau $(1)/etc/default/miau
- $(INSTALL_DATA) ./files/miaurc $(1)/etc/miau/miaurc
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/doc/miau/examples/miaurc $(1)/etc/miau/
endef
$(eval $(call BuildPackage,miau))