raptor: add recipe for version 2.0.15.

* remove old format recipe.
This commit is contained in:
Jerome Duval
2016-08-02 22:17:41 +02:00
parent 4499968f08
commit 63e8af8698
2 changed files with 88 additions and 33 deletions

View File

@@ -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"

View File

@@ -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
}