wok view soprano/receipt @ rev 25567
use wxWidgets 2.8 for amule
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 12 17:54:34 2023 +0100 (18 months ago) |
parents | be45df8e287f |
children | 29df00e1e19d |
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://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 }