mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-05 00:38:30 +08:00
39 lines
1.0 KiB
Bash
39 lines
1.0 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.6.0
|
|
pkgrel=2
|
|
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=('03ae49e87c6ec99e57d0433c2650846f')
|
|
|
|
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
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|