# Template file for 'raptor' pkgname=raptor version=2.0.9 revision=1 wrksrc="raptor2-${version}" build_style=gnu-configure configure_args="--disable-static --with-yajl=no" hostmakedepends="pkg-config" makedepends="libcurl-devel libxml2-devel libxslt-devel" short_desc="Raptor RDF Syntax Library" maintainer="davehome " license="LGPL-2.1" homepage="http://librdf.org/raptor" distfiles="http://librdf.org/dist/source/raptor2-${version}.tar.gz" checksum=46831fbe5470d6ae22bde466fbb6ed281830116b6a427a617a73ff3e558d7aa4 long_desc=" 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, RSS tag soup including all versions of RSS, Atom 1.0 and 0.3, GRDDL and microformats for HTML, XHTML and XML and RDFa. The serializing syntaxes are RDF/XML (regular, and abbreviated), Atom 1.0, GraphViz, JSON, N-Quads, N-Triples, RSS 1.0 and XMP." libraptor_package() { short_desc+=" - Runtime libraries" pkg_install() { vmove "usr/lib/*.so.*" } } raptor-devel_package() { depends="libxml2-devel zlib-devel libraptor-${version}_${revision}" short_desc+=" - Development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove usr/share/gtk-doc vmove usr/share/man/man3 } } raptor_package() { pkg_install() { vmove usr } }