Makefile cleanups, round 6 and last
[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 include $(INCLUDE_DIR)/package.mk
20
21 define Package/miau
22 SUBMENU:=Instant Messaging
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=Another IRC-bouncer/proxy
26 URL:=http://sourceforge.net/projects/miau/
27 endef
28
29 define Package/miau/description
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
33 for IRC-networks.
34 endef
35
36 CONFIGURE_ARGS += \
37 --enable-automode \
38 --enable-releasenick \
39 --enable-uptime \
40 --enable-privlog \
41 --enable-onconnect
42
43 MAKE_FLAGS += \
44 DESTDIR="$(PKG_INSTALL_DIR)" \
45 all install
46
47 define Package/miau/install
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
50 $(INSTALL_DIR) $(1)/etc/init.d
51 $(INSTALL_DIR) $(1)/etc/default
52 $(INSTALL_DIR) $(1)/etc/miau
53 $(INSTALL_BIN) ./files/miau.init $(1)/etc/init.d/miau
54 $(INSTALL_DATA) ./files/miau $(1)/etc/default/miau
55 $(INSTALL_DATA) ./files/miaurc $(1)/etc/miau/miaurc
56 endef
57
58 $(eval $(call BuildPackage,miau))