blob: 280fb080aee147fdd5902ca6a95956c99f16816f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $Id: PKGBUILD 164829 2012-08-06 23:06:28Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=soprano
pkgver=2.8.0
pkgrel=2
pkgdesc='A library which provides a highly usable object-oriented C++/Qt4 framework for RDF data'
arch=('i686' 'x86_64' 'mips64el')
url='http://soprano.sourceforge.net/'
license=('GPL' 'LGPL')
depends=('qt' 'redland-storage-virtuoso' 'libiodbc' 'virtuoso-base')
makedepends=('cmake' 'openjdk6' 'doxygen')
[ "$CARCH" = "mips64el" ] && makedepends=('cmake' 'doxygen')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('273c3403aeb6d8a43e78a4887f50a385')
build() {
cd "${srcdir}"
mkdir build
cd build
[ "$CARCH" = "mips64el" ] || \
. /etc/profile.d/openjdk6.sh
# we need the rpath
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSOPRANO_DISABLE_CLUCENE_INDEX=ON
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}
|