wok view strigi/receipt @ rev 24069

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 06 11:01:20 2021 +0000 (2021-07-06)
parents 25e6df381f36
children 453c249b6219
line source
1 # SliTaz package receipt.
3 PACKAGE="strigi"
4 VERSION="0.7.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="A fast and light desktop search engine."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://www.vandenoever.info/software/strigi/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 SUGGESTED="strigi-client"
15 DEPENDS="dbus expat libQtCore libQtDBus libQtXml libxml2 sqlite"
16 BUILD_DEPENDS="$DEPENDS bzip2-dev bzlib cmake dbus-dev expat-dev \
17 libQtCore libQtDBus libxml2-dev qmake Qt4-dev sqlite-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir build &&
23 cd build &&
24 cmake .. \
25 -DCMAKE_INSTALL_PREFIX=/usr &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 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
40 # QT GUI split into strigi-client
41 rm -f $fs/usr/bin/strigiclient
42 }