summaryrefslogtreecommitdiff
path: root/extra/clucene/PKGBUILD
blob: 825cbefa3d0792b15bf9eb4fef26cc9a66ace78a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 20266 2008-12-01 21:26:10Z 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')