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.

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