diff options
Diffstat (limited to 'extra/soprano/PKGBUILD')
-rw-r--r-- | extra/soprano/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/soprano/PKGBUILD b/extra/soprano/PKGBUILD new file mode 100644 index 000000000..671d19b8b --- /dev/null +++ b/extra/soprano/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 127976 2011-06-20 14:47:11Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=soprano +pkgver=2.6.0 +pkgrel=6 +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') +makedepends=('cmake' 'openjdk6' 'doxygen') +[ "$CARCH" = "mips64el" ] && makedepends=('cmake' 'doxygen') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") +md5sums=('03ae49e87c6ec99e57d0433c2650846f') + +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 +} |