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.

63 lines
1.4 KiB

  1. #
  2. # Copyright (C) 2006-2011 OpenWrt.org
  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:=irssi
  9. PKG_VERSION:=1.2.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=https://github.com/irssi/irssi/releases/download/1.2.1/
  13. PKG_HASH:=5466a1ed9612cfa707d9a37d60b29d027b4ac7d83c74ceb1a410e2b59edba92c
  14. PKG_LICENSE:=GPL-2.0
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_CPE_ID:=cpe:/a:irssi:irssi
  17. PKG_FIXUP:=autoreconf
  18. PKG_BUILD_PARALLEL:=1
  19. PKG_INSTALL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. include $(INCLUDE_DIR)/nls.mk
  22. define Package/irssi
  23. SUBMENU:=Instant Messaging
  24. SECTION:=net
  25. CATEGORY:=Network
  26. DEPENDS:=+glib2 +libncurses +libpthread +libopenssl
  27. TITLE:=Console IRC client
  28. MAINTAINER:=Peter Wagner <tripolar@gmx.at>
  29. URL:=https://irssi.org/
  30. endef
  31. define Package/irssi/description
  32. Irssi is a terminal based IRC client for UNIX systems.
  33. endef
  34. TARGET_LDFLAGS += -Wl,--gc-sections
  35. CONFIGURE_ARGS += \
  36. --disable-glibtest \
  37. --with-textui \
  38. --without-bot \
  39. --without-perl \
  40. --without-proxy
  41. define Build/InstallDev
  42. $(INSTALL_DIR) $(1)/usr/include/irssi
  43. $(CP) $(PKG_INSTALL_DIR)/usr/include/irssi/* $(1)/usr/include/irssi/
  44. endef
  45. define Package/irssi/install
  46. $(INSTALL_DIR) $(1)/usr/bin
  47. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME)
  48. endef
  49. $(eval $(call BuildPackage,irssi))