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