2014-06-14 04:55:27 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=tmux
|
2022-06-28 12:33:00 +00:00
|
|
|
PKG_VERSION:=3.3a
|
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:=1
|
2014-06-14 04:55:27 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2019-12-09 15:26:52 +00:00
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/tmux/tmux/tar.gz/$(PKG_VERSION)?
|
2022-06-28 12:33:00 +00:00
|
|
|
PKG_HASH:=f9687493203f86d346791a9327cde9148b9b4be959381b1effc575a9364a043f
|
2014-06-14 04:59:52 +00:00
|
|
|
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
|
2015-05-13 10:39:48 +00:00
|
|
|
|
2014-08-09 12:42:09 +00:00
|
|
|
PKG_LICENSE:=ISC
|
2014-12-14 11:04:49 +00:00
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2019-09-12 12:13:21 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:nicholas_marriott:tmux
|
2014-06-14 04:55:27 +00:00
|
|
|
|
2015-05-13 10:39:48 +00:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2014-06-14 04:55:27 +00:00
|
|
|
PKG_INSTALL:=1
|
2017-06-02 00:50:09 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2014-06-14 04:55:27 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/tmux
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2016-10-23 17:42:58 +00:00
|
|
|
SUBMENU:=Terminal
|
2014-06-14 04:55:27 +00:00
|
|
|
TITLE:=Terminal multiplexer
|
2021-04-21 21:05:36 +00:00
|
|
|
DEPENDS:=+libncurses +libevent2-core +libpthread +librt
|
2017-06-02 00:50:09 +00:00
|
|
|
URL:=http://tmux.github.io/
|
2014-06-14 04:55:27 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/tmux/description
|
|
|
|
tmux is a modern, BSD-licensed alternative to GNU screen.
|
|
|
|
endef
|
|
|
|
|
2018-06-17 20:31:35 +00:00
|
|
|
define Package/tmux/conffiles
|
|
|
|
/etc/tmux.conf
|
|
|
|
endef
|
|
|
|
|
2014-06-14 04:55:27 +00:00
|
|
|
define Package/tmux/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,tmux))
|