diff --git a/srcpkgs/libraptor b/srcpkgs/libraptor new file mode 120000 index 0000000000..7b3a521c37 --- /dev/null +++ b/srcpkgs/libraptor @@ -0,0 +1 @@ +raptor \ No newline at end of file diff --git a/srcpkgs/raptor-devel b/srcpkgs/raptor-devel new file mode 120000 index 0000000000..7b3a521c37 --- /dev/null +++ b/srcpkgs/raptor-devel @@ -0,0 +1 @@ +raptor \ No newline at end of file diff --git a/srcpkgs/raptor/depends b/srcpkgs/raptor/depends new file mode 100644 index 0000000000..3630beb107 --- /dev/null +++ b/srcpkgs/raptor/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.0.4" +api_depends="${abi_depends}" diff --git a/srcpkgs/raptor/libraptor.template b/srcpkgs/raptor/libraptor.template new file mode 100644 index 0000000000..3026aa1a14 --- /dev/null +++ b/srcpkgs/raptor/libraptor.template @@ -0,0 +1,17 @@ +# Template file for 'libraptor'. +# +short_desc="${short_desc} - Runtime libraries" +long_desc="${long_desc} + + This package contains the raptor runtime lib(s)." + +Add_dependency run glibc +Add_dependency run libcurl +Add_dependency run libxslt +Add_dependency run libxml2 +Add_dependency run zlib + +do_install() +{ + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/raptor/raptor-devel.template b/srcpkgs/raptor/raptor-devel.template new file mode 100644 index 0000000000..cc5052c803 --- /dev/null +++ b/srcpkgs/raptor/raptor-devel.template @@ -0,0 +1,18 @@ +# Template file for 'aubio-devel'. +# +short_desc="${short_desc} - Development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libxml2-devel +Add_dependency run zlib-devel +Add_dependency run lib${sourcepkg} + +do_install() +{ + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove usr/share/gtk-doc usr/share + vmove usr/share/man/man3 usr/share/man +} diff --git a/srcpkgs/raptor/template b/srcpkgs/raptor/template new file mode 100644 index 0000000000..d6097d8321 --- /dev/null +++ b/srcpkgs/raptor/template @@ -0,0 +1,30 @@ +# Template file for 'raptor' +pkgname=raptor +version=2.0.4 +wrksrc="raptor2-${version}" +homepage="http://librdf.org/raptor" +distfiles="http://librdf.org/dist/source/raptor2-${version}.tar.gz" +build_style=gnu_configure +configure_args="--disable-static --with-yajl=no" +short_desc="Raptor RDF Syntax Library" +maintainer="davehome " +license="LGPL-2.1" +checksum=34f49d3afa35f5433d8779dede62e4a6567783ee05ab2d6aec1a36054c552a6e +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." + +subpackages="lib${pkgname} ${pkgname}-devel" + +Add_dependency run glibc +Add_dependency run libraptor + +Add_dependency build pkg-config +Add_dependency build libcurl-devel +Add_dependency build libxslt-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index d3d25a067d..3c8f0b23f5 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -913,3 +913,4 @@ libvamp-sdk.so.2 libvamp-plugin-sdk vamp-plugin-sdk-devel librubberband.so.2 librubberband rubberband-devel libaubio.so.2 libaubio aubio-devel libaubioext.so.2 libaubio aubio-devel +libraptor2.so.0 libraptor raptor-devel