0
0
Fork 0
haikuports/haiku-apps/netpulse/netpulse-0.2.3.recipe

47 lines
1.0 KiB
Bash
Raw Permalink Normal View History

SUMMARY="A replicant showing the network status"
DESCRIPTION="NetPulse is a status replicant that gives an indication of data \
being sent or received over the network."
2014-10-25 09:12:11 +00:00
HOMEPAGE="https://github.com/HaikuArchives/NetPulse"
COPYRIGHT="2001 Carlos Hasan"
2014-05-29 21:57:02 +00:00
LICENSE="MIT"
REVISION="8"
srcGitRev="3170b71ab9819bb38b3a5ea33f801600747a520f"
SOURCE_URI="https://github.com/HaikuArchives/NetPulse/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="1f1daf872c3237b5f7892eb124599fa9b492e76bd2b825ab4afb7371ee5d9a0d"
SOURCE_DIR="NetPulse-$srcGitRev"
2014-05-29 21:57:02 +00:00
ARCHITECTURES="all"
2014-05-29 21:57:02 +00:00
PROVIDES="
netpulse = $portVersion
2014-10-28 21:25:03 +00:00
app:NetPulse = $portVersion
2014-05-29 21:57:02 +00:00
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
2014-05-29 21:57:02 +00:00
makefile_engine
cmd:g++
2014-05-29 21:57:02 +00:00
cmd:make
"
BUILD()
{
2014-06-05 10:32:18 +00:00
make $jobArgs OBJ_DIR=objects
2014-05-29 21:57:02 +00:00
}
INSTALL()
{
mkdir -p $appsDir
2014-06-05 10:32:18 +00:00
cp objects/NetPulse $appsDir/NetPulse
2014-05-29 21:57:02 +00:00
# Add a symlink to the Desktop applets directory in Deskbar
desktopAppletsDir="$dataDir/deskbar/menu/Desktop applets"
mkdir -p "$desktopAppletsDir"
ln -s $appsDir/NetPulse "$desktopAppletsDir"
}