SUMMARY="A backup application for Haiku"
DESCRIPTION="
A backup application for Haiku.
"
COPYRIGHT="2013 Alexander von Gluck IV"
LICENSE="MIT"
HOMEPAGE="https://github.com/kallisti5/backup" 
SRC_URI="git+https://github.com/kallisti5/backup#34e156f64d"
REVISION="2"

ARCHITECTURES="x86_gcc2 x86 ?x86_64"

PROVIDES="
	backup = $portVersion
	app:backup = $portVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	cmd:mkdepend
	"
		
PATCHES="backup-0.0.1.patch"

BUILD()
{
	make OBJ_DIR=objects \
		BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}

INSTALL()
{
	mkdir -p $appsDir
	cp objects/backup $appsDir/Backup
	addAppDeskbarSymlink $appsDir/Backup
}
