mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 06:34:36 +08:00
32 lines
1.3 KiB
Bash
32 lines
1.3 KiB
Bash
# $Id: PKGBUILD 64445 2010-01-20 12:57:54Z pierre $
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
# Contributor: Francois Charette <francois.archlinux.org>
|
|
|
|
pkgname=redland
|
|
pkgver=1.0.10
|
|
pkgrel=2
|
|
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.20' 'db>=4.8' 'postgresql-libs>=8.4.2' 'libmysqlclient>=5.1.42' 'sqlite3>=3.6.21'
|
|
'curl>=7.19.7' 'libxslt>=1.1.26' 'mpfr>=2.4.1' 'libtool' 'rasqal>=0.9.17' 'unixodbc')
|
|
makedepends=('gtk-doc')
|
|
source=("http://download.librdf.org/source/$pkgname-$pkgver.tar.gz"
|
|
'librdf_storage_register_factory.patch')
|
|
md5sums=('bdbb9b8dc614fc09a14cd646079619e1'
|
|
'1044ffc635f5c0ad16a00e18491ee588')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
# upstream patch to fix virtuoso backend
|
|
# see http://git.librdf.org/view?p=librdf.git;a=commit;h=bfeaca74108e5a1e0c8143b2dc4c36f23e78f311
|
|
patch -p1 -i ${srcdir}/librdf_storage_register_factory.patch || return 1
|
|
sed -i -e '/SHAVE/d' configure.ac
|
|
autoreconf
|
|
./configure --prefix=/usr --enable-release --disable-static \
|
|
--with-raptor=system --with-rasqal=system --with-sqlite=3
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
}
|