SUMMARY="An Access-like front-end to SQLite"
DESCRIPTION="BeAccessible, an Access-like front-end to the SQLite database."
HOMEPAGE="https://github.com/HaikuArchives/BeAccessible"
COPYRIGHT="2004 randar"
LICENSE="MIT"
REVISION="1"
srcGitRev="724b55478f1fcd303f085518679b7d82d7ec1a3d"
SOURCE_URI="https://github.com/HaikuArchives/BeAccessible/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="5fc029666763f29eb1cb494fea1d333cf31b2df74be29849115d5d07f8cd4ad7"
SOURCE_DIR="BeAccessible-$srcGitRev"

ARCHITECTURES="!all x86_gcc2"

PROVIDES="
	beaccessible = $portVersion
	app:BeAccessible = $portVersion
	"
REQUIRES="
	haiku
	lib:libexpat
	lib:libsqlite3
	"

BUILD_REQUIRES="
	haiku_devel
	devel:libexpat
	devel:libsqlite3
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:g++
	cmd:make
	"

BUILD()
{
	make -C src OBJ_DIR=objects $jobArgs
}

INSTALL()
{
	install -d $appsDir
	install -t $appsDir src/objects/BeAccessible
	addAppDeskbarSymlink $appsDir/BeAccessible
}
