Merged in jscipione/haikuports (pull request #178)

Add NetPulse 0.2.3 receipe
This commit is contained in:
Scott McCreary
2014-05-30 20:40:26 -07:00

View File

@@ -0,0 +1,44 @@
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
}
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"
}