# Description: Librairies RDF de Redland
# URL: http://download.librdf.org/source/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: raptor, db, sqlite3, unixodbc, mpfr, libpostgresql, mysqlclient, curl, gtk-doc, libxslt, mpfr, rasqal, unixodbc

name=redland
version=1.0.10
release=8
source=(http://download.librdf.org/source/$name-$version.tar.gz
	librdf_storage_register_factory.patch)

build() {
	cd $name-$version
	patch -p1 -i ../librdf_storage_register_factory.patch
	sed -i -e '/SHAVE/d' configure.ac
	autoreconf
	./configure --prefix=/usr \
		--enable-release \
		--disable-static \
		--sysconfdir=/etc \
		--with-raptor=system \
		--with-rasqual=system \
		--with-sqlite=3 
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/gtk-doc
}