2014-06-18 12:27:31 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=irssi
|
2021-07-19 03:54:55 +00:00
|
|
|
PKG_VERSION:=1.2.3
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 16:32:27 +00:00
|
|
|
PKG_RELEASE:=2
|
2014-06-18 12:27:31 +00:00
|
|
|
|
2016-09-23 15:01:49 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2019-09-18 11:30:11 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/irssi/irssi/releases/download/$(PKG_VERSION)/
|
2021-07-19 03:54:55 +00:00
|
|
|
PKG_HASH:=a647bfefed14d2221fa77b6edac594934dc672c4a560417b1abcbbc6b88d769f
|
2019-01-10 12:36:10 +00:00
|
|
|
|
2021-07-19 03:54:55 +00:00
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
2019-01-10 12:36:10 +00:00
|
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_CPE_ID:=cpe:/a:irssi:irssi
|
2014-06-18 12:27:31 +00:00
|
|
|
|
|
|
|
PKG_FIXUP:=autoreconf
|
2019-02-16 01:08:36 +00:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2014-06-18 12:27:31 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
|
|
|
|
2017-05-04 10:06:11 +00:00
|
|
|
define Package/irssi
|
2014-06-18 12:27:31 +00:00
|
|
|
SUBMENU:=Instant Messaging
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2017-05-04 10:06:11 +00:00
|
|
|
DEPENDS:=+glib2 +libncurses +libpthread +libopenssl
|
2014-06-18 12:27:31 +00:00
|
|
|
TITLE:=Console IRC client
|
|
|
|
MAINTAINER:=Peter Wagner <tripolar@gmx.at>
|
2017-05-04 10:06:11 +00:00
|
|
|
URL:=https://irssi.org/
|
2014-06-18 12:27:31 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/irssi/description
|
2017-05-04 10:06:11 +00:00
|
|
|
Irssi is a terminal based IRC client for UNIX systems.
|
2014-06-18 12:27:31 +00:00
|
|
|
endef
|
|
|
|
|
2019-02-16 01:08:36 +00:00
|
|
|
TARGET_LDFLAGS += -Wl,--gc-sections
|
|
|
|
|
2014-06-18 12:27:31 +00:00
|
|
|
CONFIGURE_ARGS += \
|
2019-02-16 01:08:36 +00:00
|
|
|
--disable-glibtest \
|
2014-06-18 12:27:31 +00:00
|
|
|
--with-textui \
|
|
|
|
--without-bot \
|
2019-02-16 01:08:36 +00:00
|
|
|
--without-perl \
|
|
|
|
--without-proxy
|
2014-06-18 12:27:31 +00:00
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include/irssi
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/irssi/* $(1)/usr/include/irssi/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/irssi/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,irssi))
|
2017-05-04 10:06:11 +00:00
|
|
|
|