1SUMMARY="A RDF API Library" 2DESCRIPTION="Redland librdf is a library that provides a high-level \ 3interface for the Resource Description Framework (RDF) allowing the RDF \ 4graph to be parsed from XML, stored, queried and manipulated. Redland librdf \ 5implements each of the RDF concepts in its own class via an object based API, \ 6reflected into the language APIs, currently C#, Java, Perl, PHP, Python, \ 7Ruby and Tcl. Several classes providing functionality such as for parsers, \ 8storage are built as modules that can be loaded at compile or run-time as \ 9required." 10HOMEPAGE="https://librdf.org/" 11COPYRIGHT="2000-2013 Dave Beckett 12 2000-2005 University of Bristol" 13LICENSE="GNU LGPL v2.1" 14REVISION="9" 15SOURCE_URI="http://download.librdf.org/source/redland-$portVersion.tar.gz" 16CHECKSUM_SHA256="de1847f7b59021c16bdc72abb4d8e2d9187cd6124d69156f3326dd34ee043681" 17 18ARCHITECTURES="all !x86_gcc2" 19SECONDARY_ARCHITECTURES="x86" 20 21PROVIDES=" 22 redland$secondaryArchSuffix = $portVersion 23 cmd:rdfproc$secondaryArchSuffix 24 cmd:redland_db_upgrade$secondaryArchSuffix 25 lib:librdf$secondaryArchSuffix = 0.0.0 compat >= 0 26 lib:librdf_storage_sqlite$secondaryArchSuffix 27 lib:librdf_storage_virtuoso$secondaryArchSuffix 28 " 29REQUIRES=" 30 haiku${secondaryArchSuffix} 31 lib:libiconv$secondaryArchSuffix 32 lib:libltdl$secondaryArchSuffix 33 lib:libodbc$secondaryArchSuffix 34 lib:libraptor2$secondaryArchSuffix 35 lib:librasqal$secondaryArchSuffix 36 lib:libsqlite3$secondaryArchSuffix 37 lib:libxml2$secondaryArchSuffix 38 " 39 40PROVIDES_devel=" 41 redland${secondaryArchSuffix}_devel = $portVersion 42 cmd:redland_config$secondaryArchSuffix 43 devel:librdf$secondaryArchSuffix = 0.0.0 compat >= 0 44 " 45REQUIRES_devel=" 46 redland$secondaryArchSuffix == $portVersion base 47 devel:librasqal$secondaryArchSuffix 48 " 49 50BUILD_REQUIRES=" 51 haiku${secondaryArchSuffix}_devel 52 devel:libglib_2.0$secondaryArchSuffix # for gtkdoc-scangobj (with pkg-config glib-2.0.pc) 53 devel:libiconv$secondaryArchSuffix 54 devel:libltdl$secondaryArchSuffix 55 devel:libraptor2$secondaryArchSuffix 56 devel:librasqal$secondaryArchSuffix 57 devel:libsqlite3$secondaryArchSuffix 58 devel:libxml2$secondaryArchSuffix 59 " 60BUILD_PREREQUIRES=" 61 cmd:autoconf 62 cmd:automake 63 cmd:awk 64 cmd:bison$secondaryArchSuffix 65 cmd:gcc$secondaryArchSuffix 66# cmd:gtkdoc_check # breaks secondary arch build 67 cmd:ld$secondaryArchSuffix 68 cmd:libtoolize$secondaryArchSuffix 69 cmd:make 70 cmd:pkg_config$secondaryArchSuffix 71 " 72 73BUILD() 74{ 75 runConfigure ./configure \ 76 --disable-static \ 77 --with-html-dir=${developDocDir} 78 make $jobArgs 79} 80 81INSTALL() 82{ 83 mkdir -p $libDir/redland 84 make install 85 86 # remove libtool library files 87 rm $libDir/*.la 88 rm $libDir/redland/*.la 89 90 # prepare develop/lib 91 prepareInstalledDevelLibs librdf 92 fixPkgconfig 93 94 # devel package 95 packageEntries devel \ 96 $developDir \ 97 $binDir/redland-config 98} 99 100TEST() 101{ 102 make check 103} 104