wok-next annotate strigi/receipt @ rev 7346
Up: encfs to 1.7.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 21 18:35:08 2010 +0000 (2010-11-21) |
parents | |
children | 809f1daacb03 |
rev | line source |
---|---|
pankso@5673 | 1 # SliTaz package receipt. |
pankso@5673 | 2 |
pankso@5673 | 3 PACKAGE="strigi" |
pankso@5673 | 4 VERSION="0.7.2" |
pankso@5673 | 5 CATEGORY="system-tools" |
pankso@5673 | 6 SHORT_DESC="Strigi is a fast and light desktop search engine." |
pankso@5673 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5673 | 8 DEPENDS="libxml2" |
pankso@5673 | 9 BUILD_DEPENDS="libxml2-dev cmake Qt4-dev" |
pankso@5673 | 10 SUGGESTED="strigi-client" |
pankso@5673 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@5673 | 12 WEB_SITE="http://www.vandenoever.info/software/strigi/" |
pankso@5673 | 13 WGET_URL="http://www.vandenoever.info/software/strigi/$TARBALL" |
pankso@5673 | 14 |
pankso@5673 | 15 # Rules to configure and make the package. |
pankso@5673 | 16 compile_rules() |
pankso@5673 | 17 { |
pankso@5673 | 18 cd $src |
pankso@5673 | 19 mkdir -p build && cd build |
pankso@5673 | 20 cmake \ |
pankso@5673 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@5673 | 22 .. && |
pankso@5673 | 23 make && |
pankso@5673 | 24 make DESTDIR=$src/_pkg install |
pankso@5673 | 25 } |
pankso@5673 | 26 |
pankso@5673 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5673 | 28 genpkg_rules() |
pankso@5673 | 29 { |
pankso@5673 | 30 mkdir -p $fs/usr/lib/$PACKAGE |
pankso@5673 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@5673 | 32 cp -a $_pkg/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE |
pankso@5673 | 33 cp -a $_pkg/usr/share $fs/usr |
pankso@5673 | 34 # QT GUI split into strigi-client |
pankso@5673 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@5673 | 36 rm $fs/usr/bin/strigiclient |
pankso@5673 | 37 } |