wok-6.x annotate strigi/receipt @ rev 23629
twisted: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 16 13:05:37 2020 +0000 (2020-04-16) |
parents | 6135577f4d08 |
children | b7f9d3ba466d |
rev | line source |
---|---|
pankso@5673 | 1 # SliTaz package receipt. |
pankso@5673 | 2 |
pankso@5673 | 3 PACKAGE="strigi" |
Hans-G?nter@21978 | 4 VERSION="0.7.5" |
pankso@5673 | 5 CATEGORY="system-tools" |
Hans-G?nter@21978 | 6 SHORT_DESC="A fast and light desktop search engine." |
pankso@5673 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
Hans-G?nter@21978 | 9 WEB_SITE="https://sourceforge.net/projects/strigi/" |
Hans-G?nter@21978 | 10 |
Hans-G?nter@21978 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21978 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21978 | 13 |
pankso@5673 | 14 SUGGESTED="strigi-client" |
Hans-G?nter@21978 | 15 DEPENDS="dbus expat libQtCore libQtDBus libQtXml libxml2 sqlite" |
Hans-G?nter@21978 | 16 BUILD_DEPENDS="$DEPENDS bzip2-dev bzlib cmake dbus-dev expat-dev \ |
Hans-G?nter@21978 | 17 libQtCore libQtDBus libxml2-dev qmake Qt4-dev sqlite-dev" |
pascal@15004 | 18 |
pankso@5673 | 19 # Rules to configure and make the package. |
pankso@5673 | 20 compile_rules() |
pankso@5673 | 21 { |
Hans-G?nter@21978 | 22 mkdir -p build && |
Hans-G?nter@21978 | 23 cd build |
pankso@5673 | 24 cmake \ |
pankso@5673 | 25 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@5673 | 26 .. && |
Hans-G?nter@21978 | 27 make && |
Hans-G?nter@21978 | 28 make install |
pankso@5673 | 29 } |
pankso@5673 | 30 |
pankso@5673 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5673 | 32 genpkg_rules() |
pankso@5673 | 33 { |
pankso@5673 | 34 mkdir -p $fs/usr/lib/$PACKAGE |
Hans-G?nter@21978 | 35 |
Hans-G?nter@21978 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21978 | 37 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE |
Hans-G?nter@21978 | 38 cp -a $install/usr/share $fs/usr |
Hans-G?nter@21978 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21978 | 40 |
pankso@5673 | 41 # QT GUI split into strigi-client |
pankso@9329 | 42 rm -f $fs/usr/bin/strigiclient |
pankso@5673 | 43 } |