wok-next view strigi/receipt @ rev 20143

postgresql: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 11:18:25 2017 +0100 (2017-11-01)
parents 2809ecb8c754
children f496af4fe2bf
line source
1 # SliTaz package receipt.
3 PACKAGE="strigi"
4 VERSION="0.7.2"
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 DEPENDS="libxml2 expat sqlite3 dbus libQtDBus libQtXml libQtCore"
15 BUILD_DEPENDS="$DEPENDS libxml2-dev cmake Qt4-dev bzlib expat-dev sqlite3-dev \
16 dbus-dev libQtCore libQtDBus qmake bzip2-dev xorg-libX11-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 mkdir -p $fs/usr/lib/$PACKAGE
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
34 cp -a $install/usr/share $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 # QT GUI split into strigi-client
37 rm -f $fs/usr/bin/strigiclient
38 }