core/strigi/PKGBUILD

59 lines
1.5 KiB
Bash
Raw Normal View History

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2010-03-14 23:48:48 +08:00
pkgname=strigi
2011-10-08 23:43:38 +08:00
pkgver=0.7.6
pkgrel=2
2010-03-14 23:48:48 +08:00
pkgdesc="Fast crawling desktop search engine with Qt4 GUI"
arch=('i686' 'x86_64')
url="http://www.vandenoever.info/software/strigi/"
license=('GPL2')
2011-10-08 23:43:38 +08:00
depends=('bzip2' 'exiv2' 'libxml2' 'boost-libs')
makedepends=('qt' 'cmake' 'pkgconfig' 'boost')
provides=('strigi-git')
replaces=('strigi-git')
conflicts=('strigi-git')
source=("http://rdieter.fedorapeople.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'libstreamanalyzer_pdf.patch')
md5sums=('41cddd39e4ae3f590d82c859a14e9261'
'3e722a93cf5c6238e625ca58463afac2')
2010-03-14 23:48:48 +08:00
options=('!libtool')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}/libstreamanalyzer
patch -p1 -i "${srcdir}"/libstreamanalyzer_pdf.patch
2011-10-08 23:43:38 +08:00
cd "${srcdir}"
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
make
2010-03-14 23:48:48 +08:00
}
package() {
2011-10-08 23:43:38 +08:00
cd "${srcdir}/build/libstreams"
make DESTDIR="${pkgdir}" install
cd "${srcdir}/build/libstreamanalyzer"
make DESTDIR="${pkgdir}" install
cd "${srcdir}/build/strigiclient/lib/searchclient/qtdbus"
make DESTDIR="${pkgdir}" install
cd "${srcdir}/build/strigiutils"
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
}