wok-current annotate strigi/receipt @ rev 19742

lua-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 18 14:00:56 2017 +0100 (2017-02-18)
parents 0e4d1805cdc7
children 6135577f4d08
rev   line source
pankso@5673 1 # SliTaz package receipt.
pankso@5673 2
pankso@5673 3 PACKAGE="strigi"
pankso@5673 4 VERSION="0.7.2"
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
psychomaniak@17180 14 DEPENDS="libxml2 expat sqlite dbus libQtDBus libQtXml libQtCore"
pascal@15004 15 BUILD_DEPENDS="$DEPENDS libxml2-dev cmake Qt4-dev bzlib expat-dev sqlite-dev \
pascal@15008 16 dbus-dev libQtCore libQtDBus qmake bzip2-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 cd $src
pankso@5673 22 mkdir -p build && cd build
pankso@5673 23 cmake \
pankso@5673 24 -DCMAKE_INSTALL_PREFIX=/usr \
pankso@5673 25 .. &&
pankso@9329 26 make && make install
pankso@5673 27 }
pankso@5673 28
pankso@5673 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5673 30 genpkg_rules()
pankso@5673 31 {
pankso@5673 32 mkdir -p $fs/usr/lib/$PACKAGE
pascal@15004 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15004 34 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
pascal@15004 35 cp -a $install/usr/share $fs/usr
pascal@15004 36 cp -a $install/usr/bin $fs/usr
pankso@5673 37 # QT GUI split into strigi-client
pankso@9329 38 rm -f $fs/usr/bin/strigiclient
pankso@5673 39 }