mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 20:37:14 +08:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
#
|
|
# 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
|
|
pkgver=2.7.0
|
|
pkgrel=1
|
|
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')
|
|
depends=('qt' 'redland-storage-virtuoso' 'libiodbc' 'virtuoso>=6.1.3')
|
|
makedepends=('cmake' 'openjdk6' 'doxygen')
|
|
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('52f216c82e731499bb25bf3b4cf0eecb')
|
|
|
|
build() {
|
|
cd "${srcdir}"
|
|
mkdir build
|
|
cd build
|
|
. /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
|
|
}
|