mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-30 10:51:39 +02:00
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=xapian-core
|
|
pkgver=1.4.10
|
|
pkgrel=0
|
|
pkgdesc="Open source search engine library"
|
|
url="http://www.xapian.org/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends=""
|
|
depends_dev="zlib-dev util-linux-dev"
|
|
makedepends="$depends_dev libtool"
|
|
install=""
|
|
subpackages="$pkgname-dev $pkgname-doc libxapian"
|
|
source="http://oligarchy.co.uk/xapian/$pkgver/$pkgname-$pkgver.tar.xz
|
|
timeval-t.patch"
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
case "$CARCH" in
|
|
armhf) options="!check" ;; # FIXME
|
|
s390x) options="!check" ;; # FIXME
|
|
esac
|
|
|
|
# secfixes:
|
|
# 1.4.6-r0:
|
|
# - CVE-2018-0499
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make VALGRIND= -C "$builddir" check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
libxapian() {
|
|
pkgdesc="Xapian search engine library"
|
|
|
|
cd "$builddir"
|
|
install -d "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/$subpkgname* "$subpkgdir"/usr/lib
|
|
}
|
|
|
|
sha512sums="fa716d6f8c04edb297d99dad4d7835f7874837ab3c39d7017e43708cde6992c596e579418be17b79772e002bd23b94169812523a1abd9519b1dd3df474f027d9 xapian-core-1.4.10.tar.xz
|
|
639c0ecd75be0627d334628b5adf581a7da92c4f86dfb86a92669368ff8a874d4bf4e344b8f3b1276d22d126d2bc44c8ab727e39e1c29c0358fe7bbc8aa8050d timeval-t.patch"
|