You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.8 KiB

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