wok-next view strigi/receipt @ rev 19542
Build *.pc files for ncurses(w)-dev; rebuild sc-im with ncursesw.pc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 05 15:16:10 2016 +0200 (2016-12-05) |
parents | 0e4d1805cdc7 |
children | 2809ecb8c754 |
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 sqlite dbus libQtDBus libQtXml libQtCore"
15 BUILD_DEPENDS="$DEPENDS libxml2-dev cmake Qt4-dev bzlib expat-dev sqlite-dev \
16 dbus-dev libQtCore libQtDBus qmake bzip2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 mkdir -p build && cd build
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 .. &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/$PACKAGE
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
35 cp -a $install/usr/share $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 # QT GUI split into strigi-client
38 rm -f $fs/usr/bin/strigiclient
39 }