termux-packages/packages/libicu/build.sh

18 lines
779 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=http://site.icu-project.org/home
TERMUX_PKG_DESCRIPTION='International Components for Unicode library'
TERMUX_PKG_LICENSE="BSD"
2019-06-19 23:14:03 +02:00
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
2019-10-06 00:48:33 +02:00
TERMUX_PKG_VERSION=65.1
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/icu4c-${TERMUX_PKG_VERSION//./_}-src.tar.xz
2019-10-06 00:48:33 +02:00
TERMUX_PKG_SHA256=bd002bdeb2e854a224c2617ba1d0e9ccea7fde3065682333902e234dce4dd380
2019-06-19 23:14:03 +02:00
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_BREAKS="libicu-dev"
TERMUX_PKG_REPLACES="libicu-dev"
TERMUX_PKG_HOSTBUILD=true
TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="--disable-samples --disable-tests"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-samples --disable-tests --with-cross-build=$TERMUX_PKG_HOSTBUILD_DIR"
termux_step_post_extract_package() {
TERMUX_PKG_SRCDIR+="/source"
}