Files
haikuports/haiku-apps/netpulse/netpulse-0.2.3.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

45 lines
969 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/HaikuArchives/NetPulse"
SRC_URI="git://github.com/HaikuArchives/NetPulse#49ad32dbf20370f3701a8b342d5fc785dd6c403d"
COPYRIGHT="Copyright 2001 Carlos Hasan"
LICENSE="MIT"
REVISION="4"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
netpulse = $portVersion
app:NetPulse = $portVersion
"
REQUIRES=""
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
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"
}