DESCRIPTION="
Serd is a lightweight C library for RDF syntax which supports reading and \
writing Turtle and NTriples.
"
HOMEPAGE="http://drobilla.net/software/serd/"
SOURCE_URI="http://download.drobilla.net/serd-0.18.0.tar.bz2"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="96dbade2c81d6df8100a9ef605ce35f8"

BUILD()
{
	cd serd-0.18.0
	sed -i "s_#!/usr/bin/env python_#!/boot/common/bin/python_g" waf
	sed -i "s_#!/usr/bin/env python_#!/boot/common/bin/python_g" wscript
	./waf configure --prefix=`finddir B_COMMON_DIRECTORY` \
		--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
	./waf
}

INSTALL()
{
	cd serd-0.18.0
	./waf install
}

COPYRIGHT="2011-2012 David Robillard"
LICENSE="MIT"
