2011-10-23 15:54:07 +02:00
|
|
|
# Template file for 'raptor'
|
|
|
|
pkgname=raptor
|
2013-06-16 10:09:55 +02:00
|
|
|
version=2.0.9
|
2013-06-16 10:27:10 +02:00
|
|
|
revision=3
|
2011-10-23 15:54:07 +02:00
|
|
|
wrksrc="raptor2-${version}"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-23 15:54:07 +02:00
|
|
|
configure_args="--disable-static --with-yajl=no"
|
2013-06-16 10:09:55 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libcurl-devel libxml2-devel libxslt-devel"
|
2011-10-23 15:54:07 +02:00
|
|
|
short_desc="Raptor RDF Syntax Library"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="LGPL-2.1"
|
2012-10-10 17:46:08 +02:00
|
|
|
homepage="http://librdf.org/raptor"
|
|
|
|
distfiles="http://librdf.org/dist/source/raptor2-${version}.tar.gz"
|
2013-06-16 10:10:19 +02:00
|
|
|
checksum=e26fb9c18e6ebf71100f434070d50196a21d592b715e361850c3b4e789b5f6ef
|
2011-10-23 15:54:07 +02:00
|
|
|
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."
|
2013-04-14 11:53:56 +02:00
|
|
|
|
|
|
|
libraptor_package() {
|
2013-06-16 10:09:55 +02:00
|
|
|
short_desc+=" - Runtime libraries"
|
2013-04-14 11:53:56 +02:00
|
|
|
pkg_install() {
|
2013-06-16 10:09:55 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 11:53:56 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
raptor-devel_package() {
|
2013-06-16 10:27:10 +02:00
|
|
|
depends="libxml2-devel zlib-devel libcurl-devel libraptor-${version}_${revision}"
|
2013-06-16 10:09:55 +02:00
|
|
|
short_desc+=" - Development files"
|
2013-04-14 11:53:56 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-06-16 10:21:14 +02:00
|
|
|
vmove usr/lib
|
2013-04-14 11:53:56 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
raptor_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|