Packages: Added rule to build htop.

This commit is contained in:
Jose Pinto 2017-05-01 16:32:27 +01:00
parent 49f31934f7
commit 4f81df3ca9

37
rules/htop/default.bash Normal file
View File

@ -0,0 +1,37 @@
version=\
(
'2.0.2'
)
url=\
(
"https://hisham.hm/htop/releases/$version/htop-$version.tar.gz"
)
md5=\
(
'7d354d904bad591a931ad57e99fea84a'
)
maintainer=\
(
'Jose Pinto <zepinto@lsts.pt>'
)
build()
{
$cmd_make
}
configure()
{
cd "../htop-$version"
./configure --disable-unicode --prefix="${cfg_dir_rootfs}"
}
target_install()
{
cd "../htop-$version"
$cmd_make install
}