Files
haikuports/haiku-apps/netpulse/netpulse-0.2.3.recipe
Humdinger 4b87f53b6a Mostly recipe cosmetics: improved SUMMARY/DESCRIPTION and re-ordering blocks
and:

*	befar
	Remove unneeded $secondaryArchSuffix
	Use g++

*	mirrormagic
	Remove unneeded $secondaryArchSuffix

*	slime_volley
	Replaced slime_volley with slimevolley in PROVIDES
	Add lib:libsdl_net in REQUIRES

*	super_transball
	Remove unneeded $secondaryArchSuffix
	Replaced super_transball with stransball2 in PROVIDES
2015-08-26 19:52:24 +02:00

45 lines
976 B
Bash

SUMMARY="A replicant showing the network status"
DESCRIPTION="NetPulse is 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="5"
SOURCE_URI="git://github.com/HaikuArchives/NetPulse#102c1cc"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
netpulse = $portVersion
app:NetPulse = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
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"
}