2011-01-21 04:47:18 +08:00
|
|
|
#
|
2012-05-26 21:34:40 +08:00
|
|
|
# Desktop Packages for Chakra, part of chakra-project.org
|
2011-01-21 04:47:18 +08:00
|
|
|
#
|
2012-05-26 21:34:40 +08:00
|
|
|
# maintainer : abveritas[at]chakra-project[dog]org>
|
|
|
|
# maintainer : Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
2011-01-21 04:47:18 +08:00
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=soprano
|
2012-06-28 21:49:29 +08:00
|
|
|
pkgver=2.8.0
|
|
|
|
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')
|
2012-06-12 03:57:43 +08:00
|
|
|
depends=('qt' 'redland-storage-virtuoso' 'libiodbc' 'virtuoso>=6.1.3' 'clucene')
|
2011-08-15 07:47:28 +08:00
|
|
|
makedepends=('cmake' 'openjdk6' 'doxygen')
|
2011-01-21 04:47:18 +08:00
|
|
|
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
2012-06-28 21:49:29 +08:00
|
|
|
md5sums=('273c3403aeb6d8a43e78a4887f50a385')
|
2011-01-21 04:47:18 +08:00
|
|
|
|
|
|
|
build() {
|
2011-08-15 07:47:28 +08:00
|
|
|
cd "${srcdir}"
|
2012-06-10 22:53:07 +08:00
|
|
|
|
|
|
|
rm -rf build
|
|
|
|
mkdir build && cd build
|
|
|
|
|
2011-01-21 04:47:18 +08:00
|
|
|
. /etc/profile.d/openjdk6.sh
|
|
|
|
# we need the rpath
|
2012-06-10 22:53:07 +08:00
|
|
|
cmake ../${pkgname}-${pkgver} \
|
2011-01-21 04:47:18 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_SKIP_RPATH=OFF \
|
2012-06-12 03:57:43 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
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
|
|
|
}
|