SUMMARY="A simple graphical FTP client"
DESCRIPTION="
FtpPositive is a simple graphical FTP client.
"
HOMEPAGE="https://github.com/HaikuArchives/FtpPositive"
SRC_URI="git+https://github.com/HaikuArchives/FtpPositive#442f47a22f"
COPYRIGHT="2007 momoziro"
LICENSE="FtpPositive"

REVISION="2"

ARCHITECTURES="x86_gcc2 x86 ?x86_64"

PROVIDES="
	ftppositive = $portVersion
	app:ftppositive = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	cmd:gcc
	cmd:jam"

BUILD()
{
	cd src
	jam

	#too lazy to fix the jamfile
	mimeset -f FtpPositive
}

INSTALL()
{
	mkdir -p $appsDir
	cp -a src/FtpPositive $appsDir
	addAppDeskbarSymlink $appsDir/FtpPositive
}
