1################################################################################ 2# 3# irssi 4# 5################################################################################ 6 7IRSSI_VERSION = 1.2.3 8IRSSI_SOURCE = irssi-$(IRSSI_VERSION).tar.xz 9# Do not use the github helper here. The generated tarball is *NOT* the 10# same as the one uploaded by upstream for the release. 11IRSSI_SITE = https://github.com/irssi/irssi/releases/download/$(IRSSI_VERSION) 12IRSSI_LICENSE = GPL-2.0+ 13IRSSI_LICENSE_FILES = COPYING 14IRSSI_CPE_ID_VENDOR = irssi 15IRSSI_DEPENDENCIES = host-pkgconf libglib2 ncurses openssl 16 17IRSSI_CONF_OPTS = \ 18 --disable-glibtest \ 19 --without-perl 20 21ifeq ($(BR2_PACKAGE_IRSSI_PROXY),y) 22IRSSI_CONF_OPTS += --with-proxy 23# If shared libs are disabled, 'proxy' has to go in the list of built-in 24# modules. 25ifeq ($(BR2_STATIC_LIBS),y) 26IRSSI_CONF_OPTS += --with-modules=proxy 27endif 28else 29IRSSI_CONF_OPTS += --without-proxy 30endif # proxy 31 32ifeq ($(BR2_PACKAGE_IRSSI_TRUE_COLOR),y) 33IRSSI_CONF_OPTS += --enable-true-color 34else 35IRSSI_CONF_OPTS += --disable-true-color 36endif 37 38# Cross-compiling irssi with the perl interpreter enabled doesn't work 39# yet. So, remove scripts as they are useless in that case. 40define IRSSI_REMOVE_SCRIPTS 41 rm -rf $(TARGET_DIR)/usr/share/irssi/scripts/ 42endef 43 44IRSSI_POST_INSTALL_TARGET_HOOKS += IRSSI_REMOVE_SCRIPTS 45 46$(eval $(autotools-package)) 47