mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 04:31:21 +00:00
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:
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=pv
|
||||
PKG_VERSION:=1.9.31
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://www.ivarch.com/programs/sources
|
||||
@@ -28,6 +28,7 @@ define Package/pv
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Shell pipeline element to meter data passing through
|
||||
URL:=https://www.ivarch.com/programs/pv.shtml
|
||||
DEPENDS:=+libncursesw
|
||||
endef
|
||||
|
||||
define Package/pv/description
|
||||
@@ -38,6 +39,8 @@ define Package/pv/description
|
||||
estimate of how long it will be until completion.
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += --with-ncurses
|
||||
|
||||
define Package/pv/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pv $(1)/usr/bin/
|
||||
|
||||
Reference in New Issue
Block a user