core/strigi/PKGBUILD

61 lines
1.4 KiB
Bash
Raw Normal View History

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# Maintainer: Fabian Kosmale <0inkane@googlemail.com>
# contributor: Giuseppe Calà <jiveaxe@gmail.com>
2010-03-14 23:48:48 +08:00
pkgname=strigi
pkgver=0.7.7
pkgrel=4
2010-03-14 23:48:48 +08:00
pkgdesc="Fast crawling desktop search engine with Qt4 GUI"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
url="http://www.vandenoever.info/software/strigi/"
license=('GPL2')
depends=('bzip2' 'exiv2' 'libxml2' 'boost-libs')
2011-10-08 23:43:38 +08:00
makedepends=('qt' 'cmake' 'pkgconfig' 'boost')
provides=('strigi-git')
replaces=('strigi-git')
conflicts=('strigi-git')
source=("http://chakra-linux.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'gcc47.patch')
md5sums=('ca0a0fd5c2b99879f6330837aeede996'
'1acb9b31a4859dc427fc4d387fd8aa2f')
2010-03-14 23:48:48 +08:00
options=('!libtool')
build() {
pushd ${pkgname}-${pkgver}/strigidaemon
patch -p1 -i "${srcdir}"/gcc47.patch
popd
2010-03-14 23:48:48 +08:00
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
2011-10-08 23:43:38 +08:00
-DENABLE_INOTIFY=ON \
-DENABLE_LOG4CXX=OFF \
-DENABLE_FAM=OFF \
-DENABLE_CLUCENE=OFF \
-DENABLE_CLUCENE_NG=OFF \
-DENABLE_FFMPEG=OFF
2011-10-08 23:43:38 +08:00
make
2010-03-14 23:48:48 +08:00
}
package() {
pushd build/libstreams
2011-10-08 23:43:38 +08:00
make DESTDIR="${pkgdir}" install
popd
2011-10-08 23:43:38 +08:00
pushd build/libstreamanalyzer
2011-10-08 23:43:38 +08:00
make DESTDIR="${pkgdir}" install
popd
2011-10-08 23:43:38 +08:00
pushd build/strigiclient/lib/searchclient/qtdbus
2011-10-08 23:43:38 +08:00
make DESTDIR="${pkgdir}" install
popd
2011-10-08 23:43:38 +08:00
pushd build/strigiutils
2011-10-08 23:43:38 +08:00
make DESTDIR="${pkgdir}" install
popd
2010-03-14 23:48:48 +08:00
}