termux-packages/packages/libicu/build.sh

16 lines
783 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-03-31 21:19:23 +02:00
TERMUX_PKG_VERSION=64.1
TERMUX_PKG_SHA256=3d2fb5ba1a7d69c4e2624a8a3008d67d0f05e720d2194b4ebdfef514b1653be4
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/icu4c-${TERMUX_PKG_VERSION//./_}-src.tar.xz
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="bin/icu-config share/man/man1/icu-config.1 lib/icu share/icu"
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_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
termux_step_post_extract_package() {
TERMUX_PKG_SRCDIR+="/source"
}