rules/htop/default: update version of package, fix configure setup.

This commit is contained in:
Pedro Gonçalves 2020-07-31 12:51:57 +01:00
parent 65c20669cc
commit c1e1eafdfd

View File

@ -1,6 +1,6 @@
version=\ version=\
( (
'2.0.2' '2.2.0'
) )
url=\ url=\
@ -10,7 +10,7 @@ url=\
md5=\ md5=\
( (
'7d354d904bad591a931ad57e99fea84a' '0d816b6beed31edc75babcfbf863ffa8'
) )
maintainer=\ maintainer=\
@ -18,6 +18,11 @@ maintainer=\
'Jose Pinto <zepinto@lsts.pt>' 'Jose Pinto <zepinto@lsts.pt>'
) )
requires=\
(
'ncurses/default'
)
build() build()
{ {
$cmd_make $cmd_make
@ -26,7 +31,15 @@ build()
configure() configure()
{ {
cd "../htop-$version" 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() target_install()