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.

65 lines
1.5 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.0
  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.0/
  13. PKG_HASH:=1643fca1d8b35e5a5d7b715c9c889e1e9cdb7e578e06487901ea959e6ab3ebe5
  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_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/nls.mk
  21. define Package/irssi
  22. SUBMENU:=Instant Messaging
  23. SECTION:=net
  24. CATEGORY:=Network
  25. DEPENDS:=+glib2 +libncurses +libpthread +libopenssl
  26. TITLE:=Console IRC client
  27. MAINTAINER:=Peter Wagner <tripolar@gmx.at>
  28. URL:=https://irssi.org/
  29. endef
  30. define Package/irssi/description
  31. Irssi is a terminal based IRC client for UNIX systems.
  32. endef
  33. CONFIGURE_ARGS += \
  34. --with-perl=no \
  35. --with-glib-prefix="$(STAGING_DIR)/usr" \
  36. --with-ssl="$(STAGING_DIR)/usr" \
  37. --with-textui \
  38. --without-bot \
  39. --disable-proxy
  40. EXTRA_CFLAGS+=$(TARGET_CPPFLAGS)
  41. EXTRA_LDFLAGS+=-lncurses
  42. define Build/InstallDev
  43. $(INSTALL_DIR) $(1)/usr/include/irssi
  44. $(CP) $(PKG_INSTALL_DIR)/usr/include/irssi/* $(1)/usr/include/irssi/
  45. endef
  46. define Package/irssi/install
  47. $(INSTALL_DIR) $(1)/usr/bin
  48. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME)
  49. endef
  50. $(eval $(call BuildPackage,irssi))