From c1e1eafdfd3d946889e2cd7ef778717d389712ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gon=C3=A7alves?= Date: Fri, 31 Jul 2020 12:51:57 +0100 Subject: [PATCH] rules/htop/default: update version of package, fix configure setup. --- rules/htop/default.bash | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/rules/htop/default.bash b/rules/htop/default.bash index a1e2b09..cc9885f 100644 --- a/rules/htop/default.bash +++ b/rules/htop/default.bash @@ -1,6 +1,6 @@ version=\ ( - '2.0.2' + '2.2.0' ) url=\ @@ -10,7 +10,7 @@ url=\ md5=\ ( - '7d354d904bad591a931ad57e99fea84a' + '0d816b6beed31edc75babcfbf863ffa8' ) maintainer=\ @@ -18,6 +18,11 @@ maintainer=\ 'Jose Pinto ' ) +requires=\ +( + 'ncurses/default' +) + build() { $cmd_make @@ -26,7 +31,15 @@ build() configure() { cd "../htop-$version" - ./configure --disable-unicode --prefix="${cfg_dir_rootfs}" + ./configure --disable-unicode \ + --disable-dependency-tracking \ + --build="$cfg_host_canonical" \ + --host="$cfg_host_canonical" \ + --prefix="$cfg_dir_rootfs" \ + HTOP_NCURSESW_CONFIG_SCRIPT="$cfg_dir_toolchain_sysroot/usr/bin/ncursesw6-config" \ + HTOP_NCURSES_CONFIG_SCRIPT="$cfg_dir_toolchain_sysroot/usr/bin/ncurses6-config" \ + CC="$cmd_target_cc" \ + CXX="$cmd_target_cxx" } target_install()