wok-current view strigi/receipt @ rev 13708
Add mtdev
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Dec 17 13:53:22 2012 +0000 (2012-12-17) |
parents | c2be6df62e6b |
children | 68ec33732967 |
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"
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 }