From dbeae5ecb607c7d35a5807ff400058865de27acf Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 23 Oct 2011 15:54:07 +0200 Subject: [PATCH] New package: raptor-2.0.4. --- srcpkgs/libraptor | 1 + srcpkgs/raptor-devel | 1 + srcpkgs/raptor/depends | 2 ++ srcpkgs/raptor/libraptor.template | 17 ++++++++++++++ srcpkgs/raptor/raptor-devel.template | 18 ++++++++++++++ srcpkgs/raptor/template | 30 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 7 files changed, 70 insertions(+) create mode 120000 srcpkgs/libraptor create mode 120000 srcpkgs/raptor-devel create mode 100644 srcpkgs/raptor/depends create mode 100644 srcpkgs/raptor/libraptor.template create mode 100644 srcpkgs/raptor/raptor-devel.template create mode 100644 srcpkgs/raptor/template diff --git a/srcpkgs/libraptor b/srcpkgs/libraptor new file mode 120000 index 00000000000..7b3a521c37c --- /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 00000000000..7b3a521c37c --- /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 00000000000..3630beb1079 --- /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 00000000000..3026aa1a147 --- /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 00000000000..cc5052c8035 --- /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 00000000000..d6097d83217 --- /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 d3d25a067d5..3c8f0b23f56 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