wok view strigi/receipt @ rev 6612

Fixed giflib-dev, jpeg-dev, libpng-dev, tiff-dev, and zlib-dev. I made there wanted package be depends also since you need the .so files to compile things also most of the time.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 09 19:37:19 2010 +0000 (2010-10-09)
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 }