From befd281b64b3d55169692c844ed2f3390c3086e0 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Thu, 29 May 2014 21:57:02 +0000 Subject: [PATCH 1/2] Add NetPulse 0.2.3 receipe --- haiku-apps/netpulse/netpulse-0.2.3.recipe | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 haiku-apps/netpulse/netpulse-0.2.3.recipe diff --git a/haiku-apps/netpulse/netpulse-0.2.3.recipe b/haiku-apps/netpulse/netpulse-0.2.3.recipe new file mode 100644 index 000000000..48b773d96 --- /dev/null +++ b/haiku-apps/netpulse/netpulse-0.2.3.recipe @@ -0,0 +1,41 @@ +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" +} From b7d5989d8d0cc3669531cebcfbd89f47b67288fa Mon Sep 17 00:00:00 2001 From: John Scipione Date: Fri, 30 May 2014 17:55:41 -0400 Subject: [PATCH 2/2] Split the description up over multiple lines --- haiku-apps/netpulse/netpulse-0.2.3.recipe | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/haiku-apps/netpulse/netpulse-0.2.3.recipe b/haiku-apps/netpulse/netpulse-0.2.3.recipe index 48b773d96..f2d0d5733 100644 --- a/haiku-apps/netpulse/netpulse-0.2.3.recipe +++ b/haiku-apps/netpulse/netpulse-0.2.3.recipe @@ -1,5 +1,8 @@ SUMMARY="NetPulse by Carlos Hasan" -DESCRIPTION="Network status replicant that gives an indication of data being sent or received over the network." +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"