Files
haikuports/sys-process/htop/htop-2.0.1.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

51 lines
1.2 KiB
Bash

SUMMARY="An interactive process viewer for Unix"
DESCRIPTION="This is htop, an interactive process viewer for Unix systems. It \
is a text-mode application (for console or X terminals) and requires ncurses."
HOMEPAGE="http://hisham.hm/htop/"
COPYRIGHT="2004-2016 Hisham Muhammad"
LICENSE="GNU GPL v2"
SOURCE_URI="https://github.com/hishamhm/htop/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="636c1e8b703058e793e8d25423af4b74059290ef9e48fa261ba58555069517b5"
REVISION="3"
PATCHES="htop-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
htop$secondaryArchSuffix = $portVersion
cmd:htop$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libncursesw$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libncursesw$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:python
"
BUILD()
{
autogen.sh
sed -i 's/-lm//g' configure
CFLAGS=-D_BSD_SOURCE LDFLAGS=-lbsd runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}