wok view soprano/receipt @ rev 25666
Up c-ares (1.27.0), cpio (2.15), dnsmasq (2.90), dovecot (2.3.21), fetchmail (6.4.38), file (5.45), firejail (0.9.72), flac (1.4.3), freeradius (3.2.3), freetype (2.13.2), fribidi (1.0.13)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 12:01:55 2024 +0000 (8 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 }