# $Id: PKGBUILD 53116 2009-09-26 07:23:19Z allan $ # Maintainer: Tobias Powalowski # Contributor: Francois Charette pkgname=redland pkgver=1.0.9 pkgrel=4 pkgdesc="Library that provides a high-level interface to RDF data" url="http://librdf.org/" license="GPL" arch=('i686' 'x86_64') depends=('raptor>=1.4.19' 'db>=4.8' 'postgresql-libs>=8.4.1-1' 'libmysqlclient>=5.1.37' 'sqlite3>=3.6.17' 'curl>=7.19.6' 'libxslt>=1.1.24-2' 'mpfr>=2.4.1' 'libtool' 'rasqal>=0.9.16') makedepends=('gtk-doc') source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz redland-1.0.9-sqlite-compile.patch redland-1.0.9-storage-link.patch) options=(!libtool) md5sums=('e5ef0c29c55b4f0f5aeed7955b4d383b' 'e1a6d167640665e4b86207f55e238d4a' '0068d0cdf990584d2e50b4b4a36b1cb5') build() { cd ${srcdir}/${pkgname}-${pkgver} # fix build patch -Np1 -i ${srcdir}/redland-1.0.9-sqlite-compile.patch || return 1 #from Mandriva patch -Np1 -i ${srcdir}/redland-1.0.9-storage-link.patch || return 1 #from Gentoo autoreconf ./configure --prefix=/usr --enable-release --disable-static \ --with-raptor=system --with-rasqal=system --with-sqlite=3 make || return 1 make DESTDIR=$startdir/pkg install || return 1 }