2012-10-31 08:47:36 +11:00
|
|
|
# Description: Widely used set of C/C++ libraries providing Unicode and Globalization support.
|
2020-11-14 00:25:17 +11:00
|
|
|
# URL: http://site.icu-project.org/
|
2014-11-10 23:25:50 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2012-10-31 08:47:36 +11:00
|
|
|
|
|
|
|
name=icu
|
2020-12-19 12:04:09 +11:00
|
|
|
version=68.2
|
2012-10-31 08:47:36 +11:00
|
|
|
release=1
|
2020-04-10 15:19:26 +10:00
|
|
|
source=(https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version/./_}-src.tgz)
|
2012-10-31 08:47:36 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd icu/source
|
|
|
|
|
2016-03-18 21:26:33 +11:00
|
|
|
# icu tries to use clang by default
|
|
|
|
[ "$CC" ] || export CC=gcc
|
|
|
|
[ "$CXX" ] || export CXX=g++
|
|
|
|
|
2012-10-31 08:47:36 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2017-11-19 23:35:25 +11:00
|
|
|
--mandir=/usr/share/man \
|
2012-10-31 08:47:36 +11:00
|
|
|
--disable-samples \
|
|
|
|
--disable-tests
|
|
|
|
|
|
|
|
make
|
2017-11-19 23:35:25 +11:00
|
|
|
make -j1 DESTDIR=$PKG install
|
2012-10-31 08:47:36 +11:00
|
|
|
}
|