SUMMARY="VoIP for Haiku"
DESCRIPTION="
Whisper BeNet aims to provide a VoIP solution to the Haiku Platform. It was \
ported from ZETA.
"
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"
SOURCE_URI="git+https://github.com/HaikuArchives/WhisperBeNet#902635a"
REVISION="1"

ARCHITECTURES="x86_gcc2 x86 ?x86_64"

PROVIDES="
	whisper = $portVersion
	app:Whisper = $portVersion
	"

BUILD_REQUIRES="
	haiku_devel
	"

BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	"

USER_SETTINGS_FILES="
	settings/BeNet directory"

BUILD()
{
	rc -o BeNet.rsrc BeNet.rdef
	make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}

INSTALL()
{
	mkdir -p $appsDir
	
	cd build
	cp Whisper $appsDir
	addAppDeskbarSymlink $appsDir/Whisper
}
