2015-10-31 02:56:21 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# irssi
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-06-18 23:35:02 +02:00
|
|
|
IRSSI_VERSION = 1.0.3
|
2016-03-07 03:50:05 +01:00
|
|
|
IRSSI_SOURCE = irssi-$(IRSSI_VERSION).tar.xz
|
2015-12-17 20:19:34 +01:00
|
|
|
# Do not use the github helper here. The generated tarball is *NOT* the
|
|
|
|
# same as the one uploaded by upstream for the release.
|
2016-03-07 03:50:05 +01:00
|
|
|
IRSSI_SITE = https://github.com/irssi/irssi/releases/download/$(IRSSI_VERSION)
|
2017-03-30 15:43:32 +02:00
|
|
|
IRSSI_LICENSE = GPL-2.0+
|
2015-10-31 02:56:21 +01:00
|
|
|
IRSSI_LICENSE_FILES = COPYING
|
2017-03-14 16:00:39 +01:00
|
|
|
IRSSI_DEPENDENCIES = host-pkgconf libglib2 ncurses openssl
|
2015-10-31 02:56:21 +01:00
|
|
|
|
|
|
|
IRSSI_CONF_OPTS = \
|
|
|
|
--disable-glibtest \
|
|
|
|
--without-perl
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_IRSSI_PROXY),y)
|
|
|
|
IRSSI_CONF_OPTS += --with-proxy
|
|
|
|
# If shared libs are disabled, 'proxy' has to go in the list of built-in
|
|
|
|
# modules.
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
IRSSI_CONF_OPTS += --with-modules=proxy
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
IRSSI_CONF_OPTS += --without-proxy
|
|
|
|
endif # proxy
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_IRSSI_TRUE_COLOR),y)
|
|
|
|
IRSSI_CONF_OPTS += --enable-true-color
|
|
|
|
else
|
|
|
|
IRSSI_CONF_OPTS += --disable-true-color
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Cross-compiling irssi with the perl interpreter enabled doesn't work
|
|
|
|
# yet. So, remove scripts as they are useless in that case.
|
|
|
|
define IRSSI_REMOVE_SCRIPTS
|
|
|
|
rm -rf $(TARGET_DIR)/usr/share/irssi/scripts/
|
|
|
|
endef
|
|
|
|
|
|
|
|
IRSSI_POST_INSTALL_TARGET_HOOKS += IRSSI_REMOVE_SCRIPTS
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|