SUMMARY="A tool to convert browser bookmarks"
DESCRIPTION="This tool converts bookmarks between QupZilla and WebPositive. \
It can also convert WebPositive bookmarks to HTML and Chrome as intermediate \
formats."

HOMEPAGE="http://github.com/HaikuArchives/BookmarkConverter"

gitRevision="9f80b05d0afd07fb732f352b92a3e831077d005a"
SOURCE_URI="https://github.com/HaikuArchives/BookmarkConverter/archive/$gitRevision.zip"
CHECKSUM_SHA256="c87abb461088ff7f959ee1204c93d6632865bca8dfa22d703a2b8c6b52538f4c"
SOURCE_DIR="BookmarkConverter-$gitRevision"

REVISION="1"
LICENSE="MIT"
COPYRIGHT="
	2015 Markus Himmel
	"

ARCHITECTURES="x86_gcc2 ?x86 ?ppc"

PROVIDES="
	bookmarkconverter = $portVersion
	cmd:bookmarkconverter = $portVersion
	"

REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	makefile_engine
	"

BUILD_PREREQUIRES="
	cmd:make
	cmd:gcc
	"

BUILD()
{
	mkdir -p bin
	make TARGET_DIR=bin
}

INSTALL()
{
	mkdir -p $binDir
	cp bin/bookmarkconverter $binDir/bookmarkconverter
}
