wok-next view strigi/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | f496af4fe2bf |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="strigi"
4 VERSION="0.7.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="Strigi is a fast and light desktop search engine."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 SUGGESTED="strigi-client"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.vandenoever.info/software/strigi/"
12 WGET_URL="http://www.vandenoever.info/software/strigi/$TARBALL"
14 BUILD_DEPENDS="$DEPENDS libxml2-dev cmake Qt4-dev bzlib expat-dev sqlite3-dev \
15 dbus-dev libQtCore libQtDBus qmake bzip2-dev xorg-libX11-dev"
16 SPLIT="strigi strigi-client strigi-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p build && cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 .. &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 strigi)
33 DEPENDS="libxml2 expat sqlite3 dbus libQtDBus libQtXml libQtCore"
34 mkdir -p $fs/usr/lib/$PACKAGE
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
37 cp -a $install/usr/share $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 # QT GUI split into strigi-client
40 rm -f $fs/usr/bin/strigiclient
41 ;;
42 strigi-client)
43 CAT="system-tools|Strigi GUI client using QT."
44 DEPENDS="strigi libQtCore libQtDBus"
45 mkdir -p $fs/usr/bin
46 cp -a $install/usr/bin/strigiclient $fs/usr/bin
47 ;;
48 strigi-dev)
49 mkdir -p $fs/usr/lib
50 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
51 cp -a $install/usr/include $fs/usr
52 ;;
53 esac
54 }