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.

68 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.4.2
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://get.bitlbee.org/src/ \
  13. http://distcache.FreeBSD.org/local-distfiles/brix/
  14. PKG_MD5SUM:=69c85554def74f314e3b6e390389a30b0e748f23ef37883e9d7545ee2c45ea57
  15. PKG_MAINTAINER:=Nikil Mehta <nikil.mehta@gmail.com>
  16. PKG_LICENSE:=GPL-2.0
  17. PKG_LICENSE_FILES:=COPYING
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/nls.mk
  21. define Package/bitlbee
  22. SECTION:=net
  23. CATEGORY:=Network
  24. SUBMENU:=Instant Messaging
  25. TITLE:=An IRC to other chat networks gateway
  26. URL:=http://www.bitlbee.org/
  27. DEPENDS:=+glib2 +libopenssl $(ICONV_DEPENDS) $(INTL_DEPENDS)
  28. endef
  29. define Package/bitlbee/description
  30. This program can be used as an IRC server which forwards everything you
  31. say to people on other chat networks: Jabber (which includes Google Talk
  32. and Facebook Chat), ICQ, AIM, MSN, Yahoo! and Twitter/Identica/Status.net.
  33. endef
  34. define Package/bitlbee/conffiles
  35. /etc/bitlbee/bitlbee.conf
  36. /etc/bitlbee/motd.txt
  37. endef
  38. CONFIGURE_ARGS = \
  39. --target=$(GNU_TARGET_NAME) \
  40. --host=$(GNU_TARGET_NAME) \
  41. --build=$(GNU_HOST_NAME) \
  42. --prefix=$(CONFIGURE_PREFIX) \
  43. --etcdir=/etc/bitlbee \
  44. --ssl=openssl \
  45. --msn=0
  46. define Build/Install
  47. $(call Build/Install/Default,install install-etc)
  48. endef
  49. define Package/bitlbee/install
  50. $(INSTALL_DIR) $(1)/usr/sbin
  51. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/bitlbee $(1)/usr/sbin/
  52. $(INSTALL_DIR) $(1)/etc/bitlbee
  53. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/bitlbee/{bitlbee.conf,motd.txt} $(1)/etc/bitlbee
  54. endef
  55. $(eval $(call BuildPackage,bitlbee))