mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
rasqal: convert to new recipe format.
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
diff -Naur rasqal-0.9.29/src/rasqal_expr_numerics.c rasqal-0.9.29-haiku/src/rasqal_expr_numerics.c
|
||||
--- rasqal-0.9.29/src/rasqal_expr_numerics.c 2012-05-14 02:37:45.000000000 +0000
|
||||
+++ rasqal-0.9.29-haiku/src/rasqal_expr_numerics.c 2012-12-11 15:24:37.000000000 +0000
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#include <stdarg.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
#include "rasqal.h"
|
||||
#include "rasqal_internal.h"
|
||||
@@ -1,33 +0,0 @@
|
||||
DESCRIPTION="RDF Query Library"
|
||||
HOMEPAGE="http://librdf.org/"
|
||||
SOURCE_URI="http://download.librdf.org/source/rasqal-0.9.29.tar.gz"
|
||||
CHECKSUM_MD5="49e4b75a0c67465edf55dd20606715fa"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="untested"
|
||||
DEPEND="dev-libs/raptor2>=2.0.8"
|
||||
BUILD()
|
||||
{
|
||||
cd rasqal-0.9.29
|
||||
./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/rasqal
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd rasqal-0.9.29
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd rasqal-0.9.29
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2000-2012 David Beckett
|
||||
2000-2005 University of Bristol"
|
||||
87
dev-libs/rasqal/rasqal-0.9.33.recipe
Normal file
87
dev-libs/rasqal/rasqal-0.9.33.recipe
Normal file
@@ -0,0 +1,87 @@
|
||||
SUMMARY="RDF Query Library"
|
||||
DESCRIPTION="Rasqal is a free software / Open Source C library that handles \
|
||||
Resource Description Framework (RDF) query language syntaxes, query \
|
||||
construction and execution of queries returning results as bindings, boolean, \
|
||||
RDF graphs/triples or syntaxes. The supported query languages are SPARQL \
|
||||
Query 1.0, SPARQL Query 1.1, SPARQL Update 1.1 (no executing) and the \
|
||||
Experimental SPARQL extensions (LAQRS). Rasqal can write binding query \
|
||||
results in the SPARQL XML, SPARQL JSON, CSV, TSV, HTML, ASCII tables, \
|
||||
RDF/XML and Turtle / N3 and read them in SPARQL XML, CSV, TSV, RDF/XML \
|
||||
and Turtle / N3."
|
||||
HOMEPAGE="http://librdf.org/"
|
||||
COPYRIGHT="2003-2014 Dave Beckett
|
||||
2003-2005 University of Bristol"
|
||||
LICENSE="GNU GPL v2
|
||||
GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://download.librdf.org/source/rasqal-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="6924c9ac6570bd241a9669f83b467c728a322470bf34f4b2da4f69492ccfd97c"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
rasqal$secondaryArchSuffix = $portVersion
|
||||
cmd:roqet$secondaryArchSuffix
|
||||
lib:librasqal$secondaryArchSuffix = 3.0.0 compat >= 3
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libmpfr$secondaryArchSuffix
|
||||
lib:libraptor2$secondaryArchSuffix
|
||||
# needed by mpfr
|
||||
lib:libgmp$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
rasqal${secondaryArchSuffix}_devel = $portVersion
|
||||
cmd:rasqal_config$secondaryArchSuffix
|
||||
devel:librasqal$secondaryArchSuffix = 3.0.0 compat >= 3
|
||||
"
|
||||
REQUIRES_devel="
|
||||
rasqal$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libmpfr$secondaryArchSuffix
|
||||
devel:libraptor2$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
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/librasqal.la
|
||||
|
||||
prepareInstalledDevelLibs librasqal
|
||||
fixPkgconfig strict
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$binDir/rasqal-config \
|
||||
$developDir \
|
||||
$manDir/man3 $manDir/man1/rasqal-config.1
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user