wok-6.x view strigi/receipt @ rev 14593

Add antinat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 27 12:17:25 2013 +0200 (2013-05-27)
parents 59f270ad646a
children a00bf44ed23d
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 DEPENDS="libxml2 expat sqlite dbus qt4"
9 BUILD_DEPENDS="$DEPENDS libxml2-dev cmake Qt4-dev bzlib expat-dev sqlite-dev \
10 dbus-dev libQtCore libQtDBus qmake bzip2-dev"
11 SUGGESTED="strigi-client"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.vandenoever.info/software/strigi/"
14 WGET_URL="http://www.vandenoever.info/software/strigi/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mkdir -p build && cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 .. &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/$PACKAGE
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
33 cp -a $_pkg/usr/share $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 # QT GUI split into strigi-client
36 rm -f $fs/usr/bin/strigiclient
37 }