wok-current annotate strigi/receipt @ rev 15004

Add some LGPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 22:18:41 2013 +0000 (2013-08-10)
parents 68ec33732967
children 0e4d1805cdc7
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"
monghitri@13992 9 dbus-dev libQtCore libQtDBus qmake bzip2-dev"
pankso@5673 10 SUGGESTED="strigi-client"
pankso@5673 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@5673 12 WEB_SITE="http://www.vandenoever.info/software/strigi/"
pankso@5673 13 WGET_URL="http://www.vandenoever.info/software/strigi/$TARBALL"
pankso@5673 14
pascal@15004 15 DEPENDS="libxml2 expat sqlite dbus qt4"
pascal@15004 16 BUILD_DEPENDS="$DEPENDS libxml2-dev cmake Qt4-dev bzlib expat-dev sqlite-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 }