wok annotate strigi/receipt @ rev 9462
Up: git to 1.7.4.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Apr 03 11:14:03 2011 +0000 (2011-04-03) |
parents | c2be6df62e6b |
children | 68ec33732967 |
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@9329 | 8 DEPENDS="libxml2 expat sqlite dbus qt4" |
pankso@9329 | 9 BUILD_DEPENDS="$DEPENDS libxml2-dev cmake Qt4-dev bzlib expat-dev sqlite-dev \ |
pascal@9339 | 10 dbus-dev libQtCore libQtDBus qmake" |
pankso@5673 | 11 SUGGESTED="strigi-client" |
pankso@5673 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@5673 | 13 WEB_SITE="http://www.vandenoever.info/software/strigi/" |
pankso@5673 | 14 WGET_URL="http://www.vandenoever.info/software/strigi/$TARBALL" |
pankso@5673 | 15 |
pankso@5673 | 16 # Rules to configure and make the package. |
pankso@5673 | 17 compile_rules() |
pankso@5673 | 18 { |
pankso@5673 | 19 cd $src |
pankso@5673 | 20 mkdir -p build && cd build |
pankso@5673 | 21 cmake \ |
pankso@5673 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@5673 | 23 .. && |
pankso@9329 | 24 make && make 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@9329 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@5673 | 35 # QT GUI split into strigi-client |
pankso@9329 | 36 rm -f $fs/usr/bin/strigiclient |
pankso@5673 | 37 } |