mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
88 lines
2.3 KiB
Bash
88 lines
2.3 KiB
Bash
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="https://librdf.org/raptor/"
|
|
COPYRIGHT="2000-2012 Dave Beckett
|
|
2000-2005 University of Bristol"
|
|
LICENSE="GNU GPL v2
|
|
GNU LGPL v2.1"
|
|
REVISION="8"
|
|
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:libcrypto$secondaryArchSuffix # deps for libcurl
|
|
lib:libcurl$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix # deps for libcurl
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix # deps for libxml2
|
|
"
|
|
|
|
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:libglib_2.0$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
# cmd:gtkdocize # breaks secondary arch build
|
|
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
|
|
}
|