Browse Source

irssi: remove nossl variant

Remove nossl variant as upstream has removed
the option to build irssi without SSL:
6300dfec71

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
lilik-openwrt-22.03
Hannu Nyman 8 years ago
parent
commit
1c2fa48ac1
1 changed files with 7 additions and 44 deletions
  1. +7
    -44
      net/irssi/Makefile

+ 7
- 44
net/irssi/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=irssi
PKG_VERSION:=1.0.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/irssi/irssi/releases/download/1.0.2/
@ -18,51 +18,27 @@ PKG_HASH:=5c1c3cc2caf103aad073fadeb000e0f8cb3b416833a7f43ceb8bd9fcf275fbe9
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
define Package/irssi/Default
define Package/irssi
SUBMENU:=Instant Messaging
SECTION:=net
CATEGORY:=Network
DEPENDS:=+glib2 +libncurses +libpthread
DEPENDS:=+glib2 +libncurses +libpthread +libopenssl
TITLE:=Console IRC client
MAINTAINER:=Peter Wagner <tripolar@gmx.at>
URL:=http://irssi.org/
endef
define Package/irssi/Default/description
Irssi is a terminal based IRC client for UNIX systems.
endef
define Package/irssi
$(call Package/irssi/Default)
TITLE+= (with OpenSSL support)
DEPENDS+= +libopenssl
VARIANT:=ssl
URL:=https://irssi.org/
endef
define Package/irssi/description
$(call Package/irssi/Default/description)
This package is built with OpenSSL support.
endef
define Package/irssi-nossl
$(call Package/irssi/Default)
TITLE+= (without OpenSSL support)
VARIANT:=nossl
endef
define Package/irssi-nossl/description
$(call Package/irssi/Default/description)
This package is built without OpenSSL support.
Irssi is a terminal based IRC client for UNIX systems.
endef
CONFIGURE_ARGS += \
--with-perl=no \
--with-glib-prefix="$(STAGING_DIR)/usr" \
--with-ssl="$(STAGING_DIR)/usr" \
--with-textui \
--without-bot \
--disable-proxy
@ -70,17 +46,6 @@ CONFIGURE_ARGS += \
EXTRA_CFLAGS+=$(TARGET_CPPFLAGS)
EXTRA_LDFLAGS+=-lncurses
ifeq ($(BUILD_VARIANT),ssl)
CONFIGURE_ARGS += \
--with-ssl="$(STAGING_DIR)/usr"
endif
ifeq ($(BUILD_VARIANT),nossl)
CONFIGURE_ARGS += \
--without-ssl \
--disable-ssl
endif
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/irssi
$(CP) $(PKG_INSTALL_DIR)/usr/include/irssi/* $(1)/usr/include/irssi/
@ -91,7 +56,5 @@ define Package/irssi/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME)
endef
Package/irssi-nossl/install = $(Package/irssi/install)
$(eval $(call BuildPackage,irssi))
$(eval $(call BuildPackage,irssi-nossl))

Loading…
Cancel
Save