Files
haikuports/haiku-apps/netpulse/netpulse-0.2.3.recipe
2014-06-05 10:32:18 +00:00

45 lines
1000 B
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/HaikuArchive/NetPulse"
SRC_URI="git://github.com/jscipione/NetPulse#a04b459309827ace18418539618bf07511000aac"
COPYRIGHT="Copyright 2001 Carlos Hasan"
LICENSE="MIT"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
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"
}