wok-next view strigi/receipt @ rev 20467
Up cookutils (1034), TiMidity++, alpine, caps, alsaequal
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 08 01:13:43 2018 +0200 (2018-03-08) |
parents | 96615f3b1048 |
children | d43bf7aae921 |
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 CAT="development|Strigi devel file."
50 DEPENDS="pkg-config"
51 mkdir -p $fs/usr/lib
52 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
53 cp -a $install/usr/include $fs/usr
54 ;;
55 esac
56 }