pv: explicitly enable ncursesw, add dependency

Explicitly enable ncurses usage and add dependency for it.

(Feature was added 1.9.24, and buildbot has occasionally failed due
to the missing dependency if ncurses has been already built.)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
Hannu Nyman
2025-11-30 16:40:13 +02:00
parent 52e1239123
commit 6c55fe0c43

View File

@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pv PKG_NAME:=pv
PKG_VERSION:=1.9.31 PKG_VERSION:=1.9.31
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.ivarch.com/programs/sources PKG_SOURCE_URL:=https://www.ivarch.com/programs/sources
@@ -28,6 +28,7 @@ define Package/pv
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=Shell pipeline element to meter data passing through TITLE:=Shell pipeline element to meter data passing through
URL:=https://www.ivarch.com/programs/pv.shtml URL:=https://www.ivarch.com/programs/pv.shtml
DEPENDS:=+libncursesw
endef endef
define Package/pv/description define Package/pv/description
@@ -38,6 +39,8 @@ define Package/pv/description
estimate of how long it will be until completion. estimate of how long it will be until completion.
endef endef
CONFIGURE_ARGS += --with-ncurses
define Package/pv/install define Package/pv/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pv $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pv $(1)/usr/bin/