wok-current view strigi/receipt @ rev 25160
updated py3k-cython (0.29.13 -> 0.29.30)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 09:49:47 2022 +0100 (2022-07-01) |
parents | b7f9d3ba466d |
children |
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir build &&
30 cd build &&
31 cmake .. \
32 -DCMAKE_INSTALL_PREFIX=/usr &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/$PACKAGE
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
44 cp -a $install/usr/share $fs/usr
45 cp -a $install/usr/bin $fs/usr
47 # QT GUI split into strigi-client
48 rm -f $fs/usr/bin/strigiclient
49 }