wok-stable view strigi/receipt @ rev 9022
geeqie: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 21:37:04 2011 +0100 (2011-03-03) |
parents | a86c9d5d978f |
children | 71ebd2ab1b24 |
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 bzlib"
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 }