# $Id$ PNAME="redland" PVER="1.0.13" PBUILD="r1" PCATEGORIE="dev-libs" DESCRIPTION="Redland is a set of free software libraries that provide support for the Resource Description Framework (RDF)." HOMEPAGE="http://librdf.org/" DEPEND=">= dev-libs/libxml2-2.7 >= dev-libs/openssl-1.0.0 >= dev-db/db-5.1 >= media-libs/raptor-2 >= dev-libs/rasqal-0.9.20 >= dev-db/libiodbc-3.52 >= dev-db/virtuoso-6.1" SDEPEND=">= sys-dev/autoconf-4 >= sys-dev/automake-3" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://download.librdf.org/source/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://download.librdf.org/source/ | grep ${PNAME}-[0-9] | lasttarball gz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # we are using system libs so delete them rm -rf {raptor,rasqal} || die } src_compile() { cd ${SRCDIR} # disabled virtuoso support, or soprano fails with: # -- Found Redland storage: /usr/lib64/redland/librdf_storage_mysql.so;/usr/lib64/redland/librdf_storage_sqlite.so;/usr/lib64/redland/librdf_storage_virtuoso.so # -- /usr/lib64/redland/librdf_storage_virtuoso.so: undefined symbol: librdf_new_uri mconfigure \ --with-raptor=system \ --with-rasqal=system \ --without-threads \ --with-openssl-digests \ --with-bdb \ --with-bdb-lib=/usr/$(mlibdir) \ --with-virtuoso \ --with-iodbc \ --without-unixodbc \ || die mmake || die }