wok view soprano/receipt @ rev 25687

updated sc-im (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Thu Apr 11 14:51:51 2024 +0100 (7 months ago)
parents 29df00e1e19d
children
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="https://sourceforge.net/projects/soprano/"
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }