From 63e8af8698667d3ffcbf13fc7a49a4a532c712d9 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 2 Aug 2016 22:17:41 +0200 Subject: [PATCH] raptor: add recipe for version 2.0.15. * remove old format recipe. --- dev-libs/raptor2/raptor2-2.0.8.recipe | 33 ---------- media-libs/raptor/raptor-2.0.15.recipe | 88 ++++++++++++++++++++++++++ 2 files changed, 88 insertions(+), 33 deletions(-) delete mode 100644 dev-libs/raptor2/raptor2-2.0.8.recipe create mode 100644 media-libs/raptor/raptor-2.0.15.recipe diff --git a/dev-libs/raptor2/raptor2-2.0.8.recipe b/dev-libs/raptor2/raptor2-2.0.8.recipe deleted file mode 100644 index 3c7108729..000000000 --- a/dev-libs/raptor2/raptor2-2.0.8.recipe +++ /dev/null @@ -1,33 +0,0 @@ -DESCRIPTION="RDF Syntax Library" -HOMEPAGE="http://librdf.org/" -SOURCE_URI="http://download.librdf.org/source/raptor2-2.0.8.tar.gz" -CHECKSUM_MD5="ac60858b875aab8fa7917f21a1237aa9" -REVISION="1" -STATUS_HAIKU="untested" -DEPEND="dev-util/gtk-doc>=1.3" -BUILD() -{ - cd raptor2-2.0.8 - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \ - --datarootdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` \ - --datadir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`\ - /doc/raptor2 - make -} - -INSTALL() -{ - cd raptor2-2.0.8 - make install -} - -TEST() -{ - cd raptor2-2.0.8 - make check -} - -LICENSE="GNU LGPL v2.1" -COPYRIGHT="2000-2012 David Beckett - 2000-2005 University of Bristol" diff --git a/media-libs/raptor/raptor-2.0.15.recipe b/media-libs/raptor/raptor-2.0.15.recipe new file mode 100644 index 000000000..3b6adcd60 --- /dev/null +++ b/media-libs/raptor/raptor-2.0.15.recipe @@ -0,0 +1,88 @@ +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="1" +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 + " +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 +}