mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 19:37:13 +08:00
30 lines
834 B
Bash
30 lines
834 B
Bash
#
|
|
# 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
|
|
|
|
pkgname=clucene
|
|
pkgver=0.9.21b
|
|
pkgrel=2
|
|
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')
|