Merged in Mrowqa/haikuports (pull request #5)

Added RDesktop and BeRDP, work by GCI2013 student Artur Jamro (Mrowqa)
This commit is contained in:
Scott McCreary
2013-12-05 10:14:41 -08:00
2 changed files with 104 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
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#8d73363b567361a5f14bf36173bf68f01260013a"
COPYRIGHT="2003-2004 Sikos"
LICENSE="BSD (4-clause)"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
berdp = $portVersion
app:BeRDP = $portVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
REQUIRES="
haiku >= $haikuVersion
cmd:rdesktop
"
BUILD()
{
cd Source
make
}
INSTALL()
{
mkdir -p $appsDir/BeRDP
objDir=Source/objects.$(echo $buildArchitecture|sed -r s/_/-/g)-release
cp $objDir/BeRDP $appsDir/BeRDP
addAppDeskbarSymlink $appsDir/BeRDP/BeRDP
}

View File

@@ -0,0 +1,54 @@
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"
COPYRIGHT="1999-2013 Matthew Chapman"
LICENSE="GNU GPL v3"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
rdesktop = $portVersion
cmd:rdesktop = $portVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
devel:libssl
"
REQUIRES="
haiku >= $haikuVersion
lib:libcrypto
lib:libssl
"
BUILD()
{
cd haiku
makefile=makefile_gcc4
if [[ "$buildArchitecture" == *gcc2* ]]; then
makefile=makefile_gcc2
fi
make -f $makefile
}
INSTALL()
{
mkdir -p $binDir
cp haiku/rdesktop $binDir
}