mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Added SystemInformation, recipe by GCI2013 student Adrian Jelen
This commit is contained in:
43
haiku-apps/systeminfo/systeminfo-2.recipe
Normal file
43
haiku-apps/systeminfo/systeminfo-2.recipe
Normal file
@@ -0,0 +1,43 @@
|
||||
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"
|
||||
SUMMARY="A system monitor for Haiku"
|
||||
HOMEPAGE="https://github.com/disreali/SystemInfo"
|
||||
SRC_URI="git+git://github.com/disreali/SystemInfo.git"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
SystemInfo = $portVersion
|
||||
app:SystemInfo = $portVersion"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion"
|
||||
|
||||
COPYRIGHT="
|
||||
2002 Brent Miszalski
|
||||
2012 Disreali"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp SystemInfo $appsDir
|
||||
addAppDeskbarSymlink $appsDir/SystemInfo
|
||||
}
|
||||
Reference in New Issue
Block a user