mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-19 18:20:07 +02:00
55 lines
1.2 KiB
Bash
55 lines
1.2 KiB
Bash
SUMMARY="A system monitor for Haiku"
|
|
DESCRIPTION="
|
|
It is an little application through which we can see some statistics about our \
|
|
system.
|
|
It currently only shows:
|
|
- CPU 0 usage
|
|
- CPU 1 usage (this is omitted if you have 1 cpu of course)
|
|
- Memory usage
|
|
- Boot disk used space
|
|
- Uptime"
|
|
HOMEPAGE="https://github.com/disreali/SystemInfo"
|
|
COPYRIGHT="2002 Brent Miszalski
|
|
2012 Disreali"
|
|
LICENSE="MIT"
|
|
REVISION="3"
|
|
SOURCE_URI="https://github.com/disreali/SystemInfo/archive/ae36df9999.tar.gz"
|
|
CHECKSUM_SHA256="cfe6443148eebf4cdc651a6a6f8e23e384e261800245643ae00fce996da4e309"
|
|
SOURCE_DIR="SystemInfo-ae36df9999e7f209c4d0e9484f1156656c5731f4"
|
|
PATCHES="
|
|
systeminfo-2-2.patchset
|
|
"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
|
|
|
PROVIDES="
|
|
systeminfo = $portVersion
|
|
app:SystemInfo = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:xres
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
echo "const uint32 CP_CHANGE_BG = 'CPBG'; const uint32 CP_CHANGE_FG = 'CPFG';" > ./DigitalView.h
|
|
g++ CPUPercent.cpp ColourPrefs.cpp ImageView.cpp MemUsage.cpp SIReplicant.cpp main.cpp -o SystemInfo -lbe
|
|
xres -o SystemInfo SystemInfo.rsrc
|
|
mimeset -f SystemInfo
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp SystemInfo $appsDir
|
|
addAppDeskbarSymlink $appsDir/SystemInfo
|
|
}
|