2010-10-19 21:41:29 +08:00
|
|
|
#
|
|
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
pkgname=redland
|
2011-07-08 06:22:40 +08:00
|
|
|
pkgver=1.0.13
|
|
|
|
pkgrel=1
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgdesc="Library that provides a high-level interface to RDF data"
|
|
|
|
url="http://librdf.org/"
|
2010-10-19 21:41:29 +08:00
|
|
|
license=("GPL")
|
2010-03-14 23:48:48 +08:00
|
|
|
arch=('i686' 'x86_64')
|
2011-07-08 06:22:40 +08:00
|
|
|
depends=('raptor>=2.0.3' 'db' 'postgresql-libs' 'libmysqlclient' 'sqlite3'
|
|
|
|
'libxslt>=1.1.26' 'mpfr>=2.4.1' 'libtool' 'rasqal>=0.9.26' 'unixodbc')
|
2010-10-19 21:41:29 +08:00
|
|
|
options=('!libtool')
|
2011-07-08 06:22:40 +08:00
|
|
|
source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz
|
|
|
|
rpath.diff)
|
|
|
|
md5sums=('96c15f36f842ad7e1c9d225e4ca97b68'
|
|
|
|
'acc85e784f01a656bd56777f95880787')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
2010-10-19 21:41:29 +08:00
|
|
|
./configure --prefix=/usr --enable-release --disable-static --disable-gtk-doc\
|
2010-03-14 23:48:48 +08:00
|
|
|
--with-raptor=system --with-rasqal=system --with-sqlite=3
|
2011-07-08 06:22:40 +08:00
|
|
|
patch -Np0 -i ${srcdir}/rpath.diff
|
|
|
|
|
|
|
|
make
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|
2010-10-19 21:41:29 +08:00
|
|
|
|
|
|
|
package() {
|
2011-07-08 06:22:40 +08:00
|
|
|
cd ${srcdir}/${pkgbase}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
rm -rf ${pkgdir}/usr/lib/redland
|
2010-11-14 06:40:35 +08:00
|
|
|
}
|