From a5c1e1aa59220e637016c1b097d223100a05faed Mon Sep 17 00:00:00 2001 From: Theodore Kokkoris Date: Thu, 19 Dec 2013 20:18:31 +0000 Subject: [PATCH] Added Muscle 6.00 recipe (currently builds only on GCC4) --- net-misc/muscle/muscle-6.00.recipe | 51 ++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 net-misc/muscle/muscle-6.00.recipe diff --git a/net-misc/muscle/muscle-6.00.recipe b/net-misc/muscle/muscle-6.00.recipe new file mode 100644 index 000000000..5edc6bb1a --- /dev/null +++ b/net-misc/muscle/muscle-6.00.recipe @@ -0,0 +1,51 @@ +DESCRIPTION="The MUSCLE system is a robust, somewhat scalable, cross-platform client-server solution for dynamic distributed applications for Haiku and other operating systems. + It allows (n) client programs (each of which may be running on a separate computer and/or under a different OS) to communicate with each other in a many-to-many message-passing style. + It employs a central server to which client programs may connect or disconnect at any time (this design is similar to other client-server systems such as Quake servers, IRC servers, and Napster servers, but more general in application). + In addition to the client-server system, MUSCLE contains classes to support peer-to-peer message streaming connections, as well as some handy miscellaneous utility classes." +SUMMARY="Robust, somewhat scalable, cross-platform client-server solution" +COPYRIGHT="2000-2009 Meyer Sound Laboratories Inc." +LICENSE="BSD (3-clause)" +HOMEPAGE="https://public.msli.com/lcs/muscle/index.html" +SRC_URI="https://public.msli.com/lcs/muscle/muscle6.00.zip" +CHECKSUM_MD5="06eda494fc9bd2fcf847939160be0e61" +REVISION="1" + +ARCHITECTURES="!x86_gcc2 x86 ?x86_64" +SECONDARY_ARCHITECTURES="!x86_gcc2 x86" + +PROVIDES=" + muscle = $portVersion + cmd:muscled$secondaryArchSuffix = $portVersion + cmd:admin$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:libz$secondaryArchSuffix + " + +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + " + +SOURCE_DIR="muscle" + +BUILD() +{ + cd server + make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` +} + +INSTALL() +{ + mkdir -p $binDir + + cd server + cp admin muscled $binDir +}