termux-packages/packages/libxapian/build.sh

18 lines
700 B
Bash
Raw Normal View History

2017-04-07 01:11:30 +02:00
TERMUX_PKG_HOMEPAGE=https://xapian.org
TERMUX_PKG_DESCRIPTION="Xapian search engine library"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2021-02-08 16:06:50 +01:00
TERMUX_PKG_VERSION=1.4.18
TERMUX_PKG_REVISION=2
2017-04-07 01:11:30 +02:00
TERMUX_PKG_SRCURL=http://oligarchy.co.uk/xapian/${TERMUX_PKG_VERSION}/xapian-core-${TERMUX_PKG_VERSION}.tar.xz
2021-02-08 16:06:50 +01:00
TERMUX_PKG_SHA256=196ddbb4ad10450100f0991a599e4ed944cbad92e4a6fe813be6dce160244b77
# Note that we cannot /proc/sys/kernel/random/uuid (permission denied on
# new android versions) so need libuuid.
2019-06-19 23:31:12 +02:00
TERMUX_PKG_DEPENDS="libc++, libuuid, zlib"
TERMUX_PKG_BREAKS="libxapian-dev"
TERMUX_PKG_REPLACES="libxapian-dev"
termux_step_pre_configure() {
LDFLAGS+=" $($CC -print-libgcc-file-name)"
}