termux-packages/packages/enchant/build.sh

20 lines
715 B
Bash
Raw Normal View History

2021-02-16 15:00:01 +01:00
TERMUX_PKG_HOMEPAGE=https://abiword.github.io/enchant/
TERMUX_PKG_DESCRIPTION="Wraps a number of different spelling libraries and programs with a consistent interface."
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.3.3"
TERMUX_PKG_REVISION=1
2021-02-16 15:00:01 +01:00
TERMUX_PKG_SRCURL=https://github.com/AbiWord/enchant/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=5952a792570eb232af464331b537381aca8bc711a1d8c4251e1f035e9cca8cfb
TERMUX_PKG_AUTO_UPDATE=true
2021-02-16 15:00:01 +01:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-relocatable"
TERMUX_PKG_DEPENDS="aspell, glib, hunspell, libc++"
2021-02-16 15:00:01 +01:00
termux_step_post_get_source() {
./bootstrap
}
termux_step_pre_configure() {
LDFLAGS+=" $($CC -print-libgcc-file-name)"
}