Files
haikuports/haiku-apps/netpulse/netpulse-0.2.3.recipe
2014-10-29 00:25:03 +03:00

46 lines
1.0 KiB
Plaintext

SUMMARY="NetPulse by Carlos Hasan"
DESCRIPTION="
Network status replicant that gives an indication of data being sent \
or received over the network.
"
HOMEPAGE="https://github.com/HaikuArchives/NetPulse"
SRC_URI="git://github.com/HaikuArchives/NetPulse#b0fd89f775ede64de2ef3f211fdec2881a73346d"
COPYRIGHT="Copyright 2001 Carlos Hasan"
LICENSE="MIT"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
netpulse = $portVersion
app:NetPulse = $portVersion
"
REQUIRES=""
BUILD_REQUIRES="haiku >= $haikuVersion"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:mkdepend
"
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"
}