diff --git a/dev-libs/redland/redland-1.0.15.recipe b/dev-libs/redland/redland-1.0.15.recipe deleted file mode 100644 index 837ca94de..000000000 --- a/dev-libs/redland/redland-1.0.15.recipe +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION="librdf RDF API Library" -HOMEPAGE="http://librdf.org/" -SOURCE_URI="http://download.librdf.org/source/redland-1.0.15.tar.gz" -CHECKSUM_MD5="b0deb87f3c7d3237a3d587c1e0f2f266" -REVISION="1" -STATUS_HAIKU="untested" -DEPEND="rasqal>=0.9.29" -BUILD() -{ - cd redland-1.0.15 - ./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/redland - make -} - -INSTALL() -{ - cd redland-1.0.15 - make install -} - -TEST() -{ - cd redland-1.0.15 - make check -} -LICENSE="GNU LGPL v2.1" -COPYRIGHT="2000-2011 Dave Beckett - 2000-2005 University of Bristol" diff --git a/dev-libs/redland/redland-1.0.17.recipe b/dev-libs/redland/redland-1.0.17.recipe new file mode 100644 index 000000000..b4f4ada1b --- /dev/null +++ b/dev-libs/redland/redland-1.0.17.recipe @@ -0,0 +1,104 @@ +SUMMARY="A RDF API Library" +DESCRIPTION="Redland librdf is a library that provides a high-level \ +interface for the Resource Description Framework (RDF) allowing the RDF \ +graph to be parsed from XML, stored, queried and manipulated. Redland librdf \ +implements each of the RDF concepts in its own class via an object based API, \ +reflected into the language APIs, currently C#, Java, Perl, PHP, Python, \ +Ruby and Tcl. Several classes providing functionality such as for parsers, \ +storage are built as modules that can be loaded at compile or run-time as \ +required." +HOMEPAGE="http://librdf.org/" +COPYRIGHT="2000-2013 Dave Beckett + 2000-2005 University of Bristol" +LICENSE="GNU LGPL v2.1" +REVISION="1" +SOURCE_URI="http://download.librdf.org/source/redland-$portVersion.tar.gz" +CHECKSUM_SHA256="de1847f7b59021c16bdc72abb4d8e2d9187cd6124d69156f3326dd34ee043681" + +ARCHITECTURES="!x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + redland$secondaryArchSuffix = $portVersion + cmd:rdfproc$secondaryArchSuffix + cmd:redland_db_upgrade$secondaryArchSuffix + lib:librdf$secondaryArchSuffix = 0.0.0 compat >= 0 + lib:librdf_storage_sqlite$secondaryArchSuffix + lib:librdf_storage_virtuoso$secondaryArchSuffix + " +REQUIRES=" + haiku${secondaryArchSuffix} + lib:libiconv$secondaryArchSuffix + lib:libltdl$secondaryArchSuffix + lib:libodbc$secondaryArchSuffix + lib:libraptor2$secondaryArchSuffix + lib:librasqal$secondaryArchSuffix + lib:libsqlite3$secondaryArchSuffix + lib:libxml2$secondaryArchSuffix + " + +PROVIDES_devel=" + redland${secondaryArchSuffix}_devel = $portVersion + cmd:redland_config$secondaryArchSuffix + devel:librdf$secondaryArchSuffix = 0.0.0 compat >= 0 + " +REQUIRES_devel=" + redland$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libiconv$secondaryArchSuffix + devel:libltdl$secondaryArchSuffix + devel:libodbc$secondaryArchSuffix + devel:libraptor2$secondaryArchSuffix + devel:librasqal$secondaryArchSuffix + devel:libsqlite3$secondaryArchSuffix + devel:libxml2$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:autoconf + cmd:automake + cmd:awk + cmd:bison$secondaryArchSuffix + cmd:gcc$secondaryArchSuffix + cmd:gtkdoc_check$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtoolize$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + autoreconf -fi + + runConfigure ./configure + + make $jobArgs +} + +INSTALL() +{ + mkdir -p $libDir/redland + + make install + + # remove libtool library files + rm $libDir/*.la + rm $libDir/redland/*.la + + # prepare develop/lib + prepareInstalledDevelLibs librdf + fixPkgconfig + + # devel package + packageEntries devel \ + $developDir \ + $binDir/redland-config +} + +TEST() +{ + make check +}