From 7ba45330afdb91a818c0b4cb3360d080f144e788 Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Sun, 1 Dec 2013 00:37:04 +0100 Subject: [PATCH] Added RDesktop and BeRDP, work by GCI2013 student Artur Jamro (Mrowqa) --- net-misc/berdp/berdp-1.recipe | 47 ++++++++++++++++++++ net-misc/rdesktop/rdesktop-1.8.0.recipe | 58 +++++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 net-misc/berdp/berdp-1.recipe create mode 100644 net-misc/rdesktop/rdesktop-1.8.0.recipe diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe new file mode 100644 index 000000000..f3bf87da4 --- /dev/null +++ b/net-misc/berdp/berdp-1.recipe @@ -0,0 +1,47 @@ +DESCRIPTION="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS platform utilizing the rdesktop project. RDP is a protocol designed by Microsoft to remotely administer / run a session on Windows 2000/2003 Servers / Windows XP Professional workstations." +SUMMARY="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS." +HOMEPAGE="https://github.com/HaikuArchives/BeRDP/" +SRC_URI="git+https://github.com/HaikuArchives/BeRDP.git#3db6f86f8409984d1a9b18b3c877042a42ebe849" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + berdp = $portVersion + app:BeRDP = $portVersion + " + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + makefile_engine + cmd:gcc + cmd:make + cmd:mkdepend + " + + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +REQUIRES=" + bin:rdesktop + " + + +COPYRIGHT="2003-2004 Giovani Zamboni, Eduardo Luis Voltolini Tafner, Phil Greenway" +LICENSE="GNU GPL v2" + +BUILD() +{ + cd Source + make + cd .. +} + +INSTALL() +{ + mkdir -p $appsDir/BeRDP + objDir=Source/objects.$(echo $buildArchitecture|sed -r s/_/-/g)-release + cp $objDir/BeRDP $appsDir/BeRDP + addAppDeskbarSymlink $appsDir/BeRDP/BeRDP +} diff --git a/net-misc/rdesktop/rdesktop-1.8.0.recipe b/net-misc/rdesktop/rdesktop-1.8.0.recipe new file mode 100644 index 000000000..8e705a5ed --- /dev/null +++ b/net-misc/rdesktop/rdesktop-1.8.0.recipe @@ -0,0 +1,58 @@ +DESCRIPTION=" + rdesktop is an open source client for Windows Remote Desktop Services, capable of natively speaking + Remote Desktop Protocol (RDP) in order to present the user's Windows desktop. rdesktop is known to + work with Windows versions such as NT 4 Terminal Server, 2000, XP, 2003, 2003 R2, Vista, 2008, 7, and 2008 R2. + " +SUMMARY="An open source client for Windows Remote Desktop Services." +HOMEPAGE="http://rdesktop.org/" +SRC_URI="git+https://github.com/threedeyes/rdesktop.git#dc04b43ccb443f8245e5cda69ab063624e0d6f8c" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + rdesktop = $portVersion + bin:rdesktop = $portVersion + cmd:rdesktop = $portVersion + " + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + makefile_engine + openssl + openssl_devel + cmd:gcc + cmd:make + cmd:mkdepend + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + devel:libssl + " + +REQUIRES=" + haiku >= $haikuVersion + lib:libcrypto + lib:libssl + " + + +COPYRIGHT="1999-2013 Matthew Chapman" +LICENSE="GNU GPL v3" + +BUILD() +{ + cd haiku + makefile=makefile_gcc4 + if [[ "$buildArchitecture" == *gcc2* ]]; then + makefile=makefile_gcc2 + fi + make -f $makefile + cd .. +} + +INSTALL() +{ + mkdir -p $binDir + cp haiku/rdesktop $binDir +}