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