PKGBUILDs/extra/clucene/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
789 B
Bash

# $Id: PKGBUILD 20267 2008-12-01 21:27:38Z tpowa $
# Contributor: Alois Nespor <alois.nespor@gmail.com>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=clucene
pkgver=0.9.21b
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)
build() {
cd ${srcdir}/$pkgname-core-$pkgver
# fix for some packages
CXXFLAGS="$CXXFLAGS -fPIC"
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
}
md5sums=('ba1a8f764a2ca19c66ad907dddd88352')