2 # Copyright (C) 2016 Nikil Mehta <nikil.mehta@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://get.bitlbee.org
/src
16 PKG_HASH
:=9f15de46f29b46bf1e39fc50bdf4515e71b17f551f3955094c5da792d962107e
18 PKG_MAINTAINER
:=Nikil Mehta
<nikil.mehta@gmail.com
>
19 PKG_LICENSE
:=GPL-2.0
-or-later
20 PKG_LICENSE_FILES
:=COPYING
21 PKG_CPE_ID
:=cpe
:/a
:bitlbee
:bitlbee
26 include $(INCLUDE_DIR
)/package.mk
27 include $(INCLUDE_DIR
)/nls.mk
29 define Package
/bitlbee
32 SUBMENU
:=Instant Messaging
33 TITLE
:=An IRC to other chat networks gateway
34 URL
:=https
://www.bitlbee.org
/
35 DEPENDS
:=+glib2
+libopenssl
$(ICONV_DEPENDS
) $(INTL_DEPENDS
)
38 define Package
/bitlbee
/description
39 This program can be used
as an IRC server which forwards everything you
40 say to people on other chat networks
: Jabber
(which includes Google Talk
41 and Facebook Chat
), ICQ
, AIM
, MSN
, Yahoo
! and Twitter
/Identica
/Status.net.
44 define Package
/bitlbee
/conffiles
45 /etc
/bitlbee
/bitlbee.conf
50 --target
=$(GNU_TARGET_NAME
) \
51 --host
=$(GNU_TARGET_NAME
) \
52 --build
=$(GNU_HOST_NAME
) \
53 --prefix=$(CONFIGURE_PREFIX
) \
54 --etcdir
=/etc
/bitlbee \
59 $(call Build
/Install
/Default
,install install-etc
)
62 define Package
/bitlbee
/install
63 $(INSTALL_DIR
) $(1)/usr
/sbin
64 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/bitlbee
$(1)/usr
/sbin
/
65 $(INSTALL_DIR
) $(1)/etc
/bitlbee
66 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/bitlbee
/{bitlbee.conf
,motd.txt
} $(1)/etc
/bitlbee
69 $(eval
$(call BuildPackage
,bitlbee
))