# $Id$ PNAME="redland" PVER="1.0.9" PBUILD="r2" PCATEGORIE="dev-libs" STATE="unstable" 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-0.9.8 >= dev-db/db-4.8 >= media-libs/raptor-1.4.18 >= dev-libs/rasqal-0.9.16" 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} mconfigure \ --with-raptor=system \ --with-rasqal=system \ --with-threads \ --with-openssl-digests \ --with-bdb \ --with-bdb-lib=/usr/$(mlibdir) \ || die mmake || die }