mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 02:47:14 +08:00
39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
#
|
|
# KDE SC 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.4.64
|
|
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' 'clucene' 'redland' 'libiodbc' 'virtuoso')
|
|
makedepends=('cmake' 'openjdk6')
|
|
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('edb7f48dd4cc0d5baa75797520c189fc')
|
|
|
|
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 || return \
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|