remove PKG_CAT from packages
[openwrt/svn-archive/archive.git] / net / psybnc / 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:=psybnc
12 PKG_VERSION:=2.3.2-7
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=psyBNC-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://www.psybnc.info/download/beta/
17 PKG_MD5SUM:=4b893a92f914813450e0921b2894ad6c
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/psybnc
24 SUBMENU:=Instant Messaging
25 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=
28 TITLE:=An IRC-Bouncer with many features
29 URL:=http://www.psybnc.info/
30 endef
31
32 define Package/psybnc/description
33 psyBNC is an easy-to-use, multi-user, permanent
34 IRC-Bouncer with many features. Some of its features
35 vhost- and relay support to connected bouncers and an
36 extensive online help system. Many other helpful
37 functions are included.
38 endef
39
40 define Build/Compile
41 $(call Build/Compile/Default, \
42 CFLAGS="$(TARGET_CFLAGS)" \
43 HOSTCC="$(HOSTCC)" \
44 all \
45 )
46 endef
47
48 define Package/psybnc/install
49 $(INSTALL_DIR) $(1)/usr/sbin
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc
51 $(INSTALL_DIR) $(1)/usr/share/psybnc
52 $(INSTALL_BIN) $(PKG_BUILD_DIR)/psybnc $(1)/usr/share/psybnc/
53 $(INSTALL_CONF) $(PKG_BUILD_DIR)/psybnc.conf $(1)/usr/share/psybnc/
54 $(INSTALL_DIR) $(1)/usr/share/psybnc/lang
55 $(INSTALL_DATA) $(PKG_BUILD_DIR)/lang/english.lng $(1)/usr/share/psybnc/lang/
56 endef
57
58 $(eval $(call BuildPackage,psybnc))