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="https://github.com/HaikuArchives/BookmarkConverter"
COPYRIGHT="2015 Markus Himmel"
LICENSE="MIT"
REVISION="5"
srcGitRev="47d5d182f1ff1cdab5d0b16f088ab264378d58fd"
SOURCE_URI="https://github.com/HaikuArchives/BookmarkConverter/archive/$srcGitRev.zip"
CHECKSUM_SHA256="414317453cf3223f55f17ac643e871edac61d58f84d54b6d6183df309f24ab18"
SOURCE_DIR="BookmarkConverter-$srcGitRev"

ARCHITECTURES="all ?x86"

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

BUILD_REQUIRES="
	haiku_devel
	makefile_engine
	"
BUILD_PREREQUIRES="
	cmd:gcc
	cmd:make
	"

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

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