Files
haikuports/haiku-apps/netpulse/netpulse-0.2.3.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

47 lines
1.0 KiB
Bash

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."
HOMEPAGE="https://github.com/HaikuArchives/NetPulse"
COPYRIGHT="2001 Carlos Hasan"
LICENSE="MIT"
REVISION="8"
srcGitRev="3170b71ab9819bb38b3a5ea33f801600747a520f"
SOURCE_URI="https://github.com/HaikuArchives/NetPulse/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="1f1daf872c3237b5f7892eb124599fa9b492e76bd2b825ab4afb7371ee5d9a0d"
SOURCE_DIR="NetPulse-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
netpulse = $portVersion
app:NetPulse = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp objects/NetPulse $appsDir/NetPulse
# Add a symlink to the Desktop applets directory in Deskbar
desktopAppletsDir="$dataDir/deskbar/menu/Desktop applets"
mkdir -p "$desktopAppletsDir"
ln -s $appsDir/NetPulse "$desktopAppletsDir"
}