htop-2.0.2.recipe revision ae94b127
1SUMMARY="An interactive process viewer for Unix"
2DESCRIPTION="This is htop, an interactive process viewer for Unix systems. It \
3is a text-mode application (for console or X terminals) and requires ncurses."
4HOMEPAGE="http://hisham.hm/htop/"
5COPYRIGHT="2004-2016 Hisham Muhammad"
6LICENSE="GNU GPL v2"
7REVISION="2"
8SOURCE_URI="https://github.com/hishamhm/htop/archive/$portVersion.tar.gz"
9CHECKSUM_SHA256="1e93e6743dddad254fac2ad0d83b00a82173c75ecbd6ef6f7d55da690eb64b92"
10PATCHES="htop-$portVersion.patchset"
11
12ARCHITECTURES="!x86_gcc2 ?x86_64"
13SECONDARY_ARCHITECTURES="x86"
14
15PROVIDES="
16	htop$secondaryArchSuffix = $portVersion
17	cmd:htop$secondaryArchSuffix = $portVersion
18	"
19REQUIRES="
20	haiku$secondaryArchSuffix
21	lib:libncursesw$secondaryArchSuffix
22	"
23
24BUILD_REQUIRES="
25	haiku${secondaryArchSuffix}_devel
26	devel:libncursesw$secondaryArchSuffix
27	"
28BUILD_PREREQUIRES="
29	cmd:aclocal
30	cmd:autoreconf
31	cmd:gcc$secondaryArchSuffix
32	cmd:libtoolize$secondaryArchSuffix
33	cmd:make
34	cmd:pkg_config$secondaryArchSuffix
35	cmd:python
36	"
37
38BUILD()
39{
40	autogen.sh
41	sed -i 's/-lm//g' configure
42	CFLAGS=-D_BSD_SOURCE LDFLAGS=-lbsd runConfigure ./configure
43	make $jobArgs
44}
45
46INSTALL()
47{
48	make install
49}
50