Add whisper recipe and patch (version 1.2)

This commit is contained in:
Theodore Kokkoris
2013-12-05 14:52:15 +00:00
parent da32d2b73f
commit c6d2ae4d2c
2 changed files with 450 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
DESCRIPTION="Whisper BeNet aims to provide a VoIP solution to the Haiku Platform. It was ported from ZETA."
SUMMARY="VoIP for Haiku"
COPYRIGHT="
1998-2001 the BeNet team
2004-2006 Bernd Korz & Oliver Ruiz Dorantes oliver.ruiz.dorantes@gmail.com
2008 Oliver Ruiz Dorantes oliver.ruiz.dorantes@gmail.com
"
LICENSE="MIT"
HOMEPAGE="https://github.com/HaikuArchives/WhisperBeNet"
SRC_URI="git+https://github.com/HaikuArchives/WhisperBeNet#1e4d59c"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
whisper = $portVersion
app:whisper = $portVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend
"
PATCHES="whisper-1.2.patch"
USER_SETTINGS_FILES="
settings/BeNet directory"
BUILD()
{
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
architecture=`echo $buildArchitecture | sed 's/_/-/g'`
mkdir -p $appsDir/Whisper
cd objects.$architecture-debug
cp Whisper $appsDir/Whisper
addAppDeskbarSymlink $appsDir/Whisper/Whisper
}