wok-6.x diff strigi/receipt @ rev 8195
imported patch toolchain/libtool.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | |
children | 809f1daacb03 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/strigi/receipt Thu Jan 27 00:20:50 2011 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="strigi" 1.7 +VERSION="0.7.2" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Strigi is a fast and light desktop search engine." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="libxml2" 1.12 +BUILD_DEPENDS="libxml2-dev cmake Qt4-dev" 1.13 +SUGGESTED="strigi-client" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 +WEB_SITE="http://www.vandenoever.info/software/strigi/" 1.16 +WGET_URL="http://www.vandenoever.info/software/strigi/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + mkdir -p build && cd build 1.23 + cmake \ 1.24 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.25 + .. && 1.26 + make && 1.27 + make DESTDIR=$src/_pkg install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/lib/$PACKAGE 1.34 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.35 + cp -a $_pkg/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE 1.36 + cp -a $_pkg/usr/share $fs/usr 1.37 + # QT GUI split into strigi-client 1.38 + cp -a $_pkg/usr/bin $fs/usr 1.39 + rm $fs/usr/bin/strigiclient 1.40 +}