wok-next annotate strigi/receipt @ rev 20427
Up cookutils (1024), tazpkg (957)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 12:19:58 2018 +0200 (2018-01-24) |
parents | 96615f3b1048 |
children | d43bf7aae921 |
rev | line source |
---|---|
pankso@5673 | 1 # SliTaz package receipt. |
pankso@5673 | 2 |
pankso@5673 | 3 PACKAGE="strigi" |
pascal@20177 | 4 VERSION="0.7.8" |
pankso@5673 | 5 CATEGORY="system-tools" |
pankso@5673 | 6 SHORT_DESC="Strigi is a fast and light desktop search engine." |
pankso@5673 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
pankso@5673 | 9 SUGGESTED="strigi-client" |
pankso@5673 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@5673 | 11 WEB_SITE="http://www.vandenoever.info/software/strigi/" |
pankso@5673 | 12 WGET_URL="http://www.vandenoever.info/software/strigi/$TARBALL" |
pankso@5673 | 13 |
pascal@20098 | 14 BUILD_DEPENDS="$DEPENDS libxml2-dev cmake Qt4-dev bzlib expat-dev sqlite3-dev \ |
pascal@20109 | 15 dbus-dev libQtCore libQtDBus qmake bzip2-dev xorg-libX11-dev" |
pascal@20177 | 16 SPLIT="strigi strigi-client strigi-dev" |
pascal@15004 | 17 |
pankso@5673 | 18 # Rules to configure and make the package. |
pankso@5673 | 19 compile_rules() |
pankso@5673 | 20 { |
pankso@5673 | 21 mkdir -p build && cd build |
pankso@5673 | 22 cmake \ |
pankso@5673 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@5673 | 24 .. && |
pankso@9329 | 25 make && make install |
pankso@5673 | 26 } |
pankso@5673 | 27 |
pankso@5673 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5673 | 29 genpkg_rules() |
pankso@5673 | 30 { |
pascal@20177 | 31 case $PACKAGE in |
pascal@20177 | 32 strigi) |
pascal@20177 | 33 DEPENDS="libxml2 expat sqlite3 dbus libQtDBus libQtXml libQtCore" |
pascal@20177 | 34 mkdir -p $fs/usr/lib/$PACKAGE |
pascal@20177 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20177 | 36 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE |
pascal@20177 | 37 cp -a $install/usr/share $fs/usr |
pascal@20177 | 38 cp -a $install/usr/bin $fs/usr |
pascal@20177 | 39 # QT GUI split into strigi-client |
pascal@20177 | 40 rm -f $fs/usr/bin/strigiclient |
pascal@20177 | 41 ;; |
pascal@20177 | 42 strigi-client) |
pascal@20177 | 43 CAT="system-tools|Strigi GUI client using QT." |
pascal@20177 | 44 DEPENDS="strigi libQtCore libQtDBus" |
pascal@20177 | 45 mkdir -p $fs/usr/bin |
pascal@20177 | 46 cp -a $install/usr/bin/strigiclient $fs/usr/bin |
pascal@20177 | 47 ;; |
pascal@20177 | 48 strigi-dev) |
pascal@20177 | 49 CAT="development|Strigi devel file." |
pascal@20177 | 50 DEPENDS="pkg-config" |
pascal@20177 | 51 mkdir -p $fs/usr/lib |
pascal@20177 | 52 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@20177 | 53 cp -a $install/usr/include $fs/usr |
pascal@20177 | 54 ;; |
pascal@20177 | 55 esac |
pankso@5673 | 56 } |