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