2011-01-21 04:47:18 +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
|
|
|
|
|
|
|
|
pkgname=soprano
|
2011-11-05 04:07:17 +08:00
|
|
|
pkgver=2.7.3
|
2011-07-23 02:02:15 +08:00
|
|
|
pkgrel=1
|
2011-01-21 04:47:18 +08:00
|
|
|
pkgdesc='A library which provides a highly usable object-oriented C++/Qt4 framework for RDF data'
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url='http://soprano.sourceforge.net/'
|
|
|
|
license=('GPL' 'LGPL')
|
2011-08-15 07:47:28 +08:00
|
|
|
depends=('qt' 'redland-storage-virtuoso' 'libiodbc' 'virtuoso>=6.1.3')
|
|
|
|
makedepends=('cmake' 'openjdk6' 'doxygen')
|
2011-01-21 04:47:18 +08:00
|
|
|
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
2011-11-05 04:07:17 +08:00
|
|
|
md5sums=('2674ab79c3ec17e4d1b7ecfc76651cd0')
|
2011-01-21 04:47:18 +08:00
|
|
|
|
|
|
|
build() {
|
2011-08-15 07:47:28 +08:00
|
|
|
cd "${srcdir}"
|
2011-01-21 04:47:18 +08:00
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
. /etc/profile.d/openjdk6.sh
|
|
|
|
# we need the rpath
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_SKIP_RPATH=OFF \
|
2011-08-15 07:47:28 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DSOPRANO_DISABLE_CLUCENE_INDEX=ON
|
2011-01-21 04:47:18 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-08-15 07:47:28 +08:00
|
|
|
cd "${srcdir}"/build
|
2011-01-21 04:47:18 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-03-30 05:22:46 +08:00
|
|
|
}
|