wok view strigi/receipt @ rev 8782
Up: slitaz-base-files (4.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 22 20:51:00 2011 +0100 (2011-02-22) |
parents | |
children | 809f1daacb03 |
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"
9 BUILD_DEPENDS="libxml2-dev cmake Qt4-dev"
10 SUGGESTED="strigi-client"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.vandenoever.info/software/strigi/"
13 WGET_URL="http://www.vandenoever.info/software/strigi/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p build && cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 .. &&
23 make &&
24 make DESTDIR=$src/_pkg 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 # QT GUI split into strigi-client
35 cp -a $_pkg/usr/bin $fs/usr
36 rm $fs/usr/bin/strigiclient
37 }