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