wok-next diff strigi/receipt @ rev 20361
cream, kazehakase: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 23 18:14:17 2017 +0100 (2017-11-23) |
parents | 96615f3b1048 |
children | d43bf7aae921 |
line diff
1.1 --- a/strigi/receipt Sun Oct 29 23:24:57 2017 +0100 1.2 +++ b/strigi/receipt Thu Nov 23 18:14:17 2017 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="strigi" 1.7 -VERSION="0.7.2" 1.8 +VERSION="0.7.8" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Strigi is a fast and light desktop search engine." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -11,9 +11,9 @@ 1.13 WEB_SITE="http://www.vandenoever.info/software/strigi/" 1.14 WGET_URL="http://www.vandenoever.info/software/strigi/$TARBALL" 1.15 1.16 -DEPENDS="libxml2 expat sqlite3 dbus libQtDBus libQtXml libQtCore" 1.17 BUILD_DEPENDS="$DEPENDS libxml2-dev cmake Qt4-dev bzlib expat-dev sqlite3-dev \ 1.18 dbus-dev libQtCore libQtDBus qmake bzip2-dev xorg-libX11-dev" 1.19 +SPLIT="strigi strigi-client strigi-dev" 1.20 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 @@ -28,11 +28,29 @@ 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 - mkdir -p $fs/usr/lib/$PACKAGE 1.28 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.29 - cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE 1.30 - cp -a $install/usr/share $fs/usr 1.31 - cp -a $install/usr/bin $fs/usr 1.32 - # QT GUI split into strigi-client 1.33 - rm -f $fs/usr/bin/strigiclient 1.34 + case $PACKAGE in 1.35 + strigi) 1.36 + DEPENDS="libxml2 expat sqlite3 dbus libQtDBus libQtXml libQtCore" 1.37 + mkdir -p $fs/usr/lib/$PACKAGE 1.38 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.39 + cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE 1.40 + cp -a $install/usr/share $fs/usr 1.41 + cp -a $install/usr/bin $fs/usr 1.42 + # QT GUI split into strigi-client 1.43 + rm -f $fs/usr/bin/strigiclient 1.44 + ;; 1.45 + strigi-client) 1.46 + CAT="system-tools|Strigi GUI client using QT." 1.47 + DEPENDS="strigi libQtCore libQtDBus" 1.48 + mkdir -p $fs/usr/bin 1.49 + cp -a $install/usr/bin/strigiclient $fs/usr/bin 1.50 + ;; 1.51 + strigi-dev) 1.52 + CAT="development|Strigi devel file." 1.53 + DEPENDS="pkg-config" 1.54 + mkdir -p $fs/usr/lib 1.55 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.56 + cp -a $install/usr/include $fs/usr 1.57 + ;; 1.58 + esac 1.59 }