core/clucene/PKGBUILD

35 lines
860 B
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=clucene
2011-11-12 04:46:12 +08:00
pkgver=2.3.3.4
pkgrel=1
2010-03-14 23:48:48 +08:00
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')
2011-11-12 04:46:12 +08:00
depends=('gcc-libs' 'zlib' 'boost-libs')
makedepends=('cmake' 'boost')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-core-$pkgver.tar.gz")
md5sums=('48d647fbd8ef8889e5a7f422c1bfda94')
2010-03-14 23:48:48 +08:00
build() {
2011-11-12 04:46:12 +08:00
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
2010-03-14 23:48:48 +08:00
}