wok-6.x view soprano/receipt @ rev 25315
updated soprano and soprano-dev (2.8.0 -> 2.9.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 21 06:45:43 2022 +0100 (2022-07-21) |
parents | e919c5a2742d |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="soprano"
4 VERSION="2.9.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Soprano is the Qt/C++ RDF framework."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://soprano.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libiodbc libQtCore libQtDBus libQtNetwork libQtXml raptor"
15 BUILD_DEPENDS="cmake doxygen libiodbc-dev qmake Qt4-dev raptor-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/soprano/files/Soprano/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/Soprano/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir _build &&
29 cd _build &&
30 cmake .. \
31 -D CMAKE_INSTALL_PREFIX=/usr \
32 -D SOPRANO_DISABLE_CLUCENE_INDEX=TRUE \
33 -D SOPRANO_DISABLE_REDLAND_BACKEND=TRUE &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/soprano $fs/usr/lib
46 cp -a $install/usr/share $fs/usr
47 }