nuke $Id$ in /packages as well
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=psybnc
11 PKG_VERSION:=2.3.2-7
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=psyBNC-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.psybnc.info/download/beta/
16 PKG_MD5SUM:=4b893a92f914813450e0921b2894ad6c
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/psybnc
23 SUBMENU:=Instant Messaging
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=An IRC-Bouncer with many features
27 URL:=http://www.psybnc.info/
28 endef
29
30 define Package/psybnc/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 endef
37
38 ifneq ($(SDK)$(CONFIG_BIG_ENDIAN),)
39 ENDIANESS:=1
40 else
41 ENDIANESS:=0
42 endif
43
44 define Build/Compile
45 $(call Build/Compile/Default, \
46 CFLAGS="$(TARGET_CFLAGS)" \
47 HOSTCC="$(HOSTCC)" \
48 all \
49 )
50 endef
51
52 define Package/psybnc/conffiles
53 /etc/psybnc.conf
54 endef
55
56 define Package/psybnc/install
57 $(INSTALL_DIR) $(1)/usr/sbin
58 $(INSTALL_BIN) $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc
59 $(INSTALL_DIR) $(1)/usr/share/psybnc
60 $(INSTALL_BIN) $(PKG_BUILD_DIR)/psybnc $(1)/usr/share/psybnc/
61 $(INSTALL_CONF) $(PKG_BUILD_DIR)/psybnc.conf $(1)/usr/share/psybnc/
62 $(INSTALL_DIR) $(1)/usr/share/psybnc/lang
63 $(INSTALL_DATA) $(PKG_BUILD_DIR)/lang/english.lng $(1)/usr/share/psybnc/lang/
64 $(INSTALL_DIR) $(1)/etc/
65 $(INSTALL_CONF) $(PKG_BUILD_DIR)/psybnc.conf $(1)/etc
66 endef
67
68 $(eval $(call BuildPackage,psybnc))