SUMMARY="RDF Syntax Library" DESCRIPTION="Raptor is a free software / Open Source C library that provides \ a set of parsers and serializers that generate Resource Description Framework \ (RDF) triples by parsing syntaxes or serialize the triples into a \ syntax. The supported parsing syntaxes are RDF/XML, N-Quads, N-Triples, \ TRiG, Turtle, RDFa 1.0 and 1.1, RSS tag soup including all versions of \ RSS, Atom 1.0 and 0.3, GRDDL and microformats for HTML, XHTML and XML. \ The serializing syntaxes are RDF/XML (regular, and abbreviated), Atom \ 1.0, GraphViz, JSON, N-Quads, N-Triples, RSS 1.0 and XMP." HOMEPAGE="http://librdf.org/raptor/" COPYRIGHT="2000-2012 Dave Beckett 2000-2005 University of Bristol" LICENSE="GNU GPL v2 GNU LGPL v2.1" REVISION="5" SOURCE_URI="http://download.librdf.org/source/raptor2-$portVersion.tar.gz" CHECKSUM_SHA256="ada7f0ba54787b33485d090d3d2680533520cd4426d2f7fb4782dd4a6a1480ed" SOURCE_DIR="raptor2-$portVersion" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" raptor$secondaryArchSuffix = $portVersion cmd:rapper$secondaryArchSuffix lib:libraptor2$secondaryArchSuffix = 0.0.0 compat >= 0 " REQUIRES=" haiku$secondaryArchSuffix lib:libcurl$secondaryArchSuffix lib:libxml2$secondaryArchSuffix # deps for libcurl lib:libcrypto$secondaryArchSuffix lib:libssl$secondaryArchSuffix # deps for libxml2 lib:libz$secondaryArchSuffix " PROVIDES_devel=" raptor${secondaryArchSuffix}_devel = $portVersion devel:libraptor2$secondaryArchSuffix = 0.0.0 compat >= 0 " REQUIRES_devel=" raptor$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libcurl$secondaryArchSuffix devel:libxml2$secondaryArchSuffix devel:libglib_2.0$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:aclocal cmd:autoconf cmd:automake cmd:gcc$secondaryArchSuffix cmd:gtkdocize cmd:ld$secondaryArchSuffix cmd:libtoolize$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix " BUILD() { autoreconf -fi runConfigure ./configure --with-html-dir=${developDocDir} make $jobArgs } INSTALL() { make install rm $libDir/libraptor2.la prepareInstalledDevelLibs libraptor2 fixPkgconfig strict # devel package packageEntries devel \ $developDir } TEST() { make check }