2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/miau
17 PKG_MD5SUM:=1b78d219a03655399c165eeb021cddd8
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23 include $(INCLUDE_DIR)/package.mk
28 TITLE:=Another IRC-bouncer/proxy
30 In short, miau is an IRC-bouncer/proxy.\\\
31 Being more verbose, miau is small but quite featured \\\
32 IRC-bouncer - a service bit like HTTP-proxy, but \\\
34 URL:=http://sourceforge.net/projects/miau/
37 define Build/Configure
38 $(call Build/Configure/Default, \
40 --enable-releasenick \
48 $(MAKE) -C $(PKG_BUILD_DIR) \
49 DESTDIR="$(PKG_INSTALL_DIR)" \
53 define Package/miau/install
54 install -d -m0755 $(1)/usr/bin
55 $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
56 install -d -m0755 $(1)/etc/init.d
57 install -d -m0755 $(1)/etc/default
58 install -d -m0755 $(1)/etc/miau
59 install -m0755 ./files/miau.init $(1)/etc/init.d/miau
60 install -m0644 ./files/miau $(1)/etc/default/miau
61 install -m0644 ./files/miaurc $(1)/etc/miau/miaurc
64 $(eval $(call BuildPackage,miau))