Commit e972a515 authored by abveritas's avatar abveritas

clucene update

parent e3248c8b
......@@ -7,23 +7,28 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=clucene
pkgver=0.9.21b
pkgrel=2
pkgver=2.3.3.4
pkgrel=1
pkgdesc="CLucene is a C++ port of Lucene: A high-performance, full-featured text search engine."
arch=('i686' 'x86_64')
url="http://clucene.sourceforge.net"
license=('APACHE' 'LGPL')
depends=('gcc-libs')
makedepends=('libtool' 'autoconf' 'automake' 'doxygen')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-core-$pkgver.tar.bz2)
options=(!libtool)
depends=('gcc-libs' 'zlib' 'boost-libs')
makedepends=('cmake' 'boost')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-core-$pkgver.tar.gz")
md5sums=('48d647fbd8ef8889e5a7f422c1bfda94')
build() {
cd ${srcdir}/$pkgname-core-$pkgver
# fix for some packages
CXXFLAGS="$CXXFLAGS -fPIC"
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
cd "${srcdir}"
mkdir build
cd build
cmake ../$pkgname-core-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}
md5sums=('ba1a8f764a2ca19c66ad907dddd88352')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment