26 lines
594 B
Plaintext
26 lines
594 B
Plaintext
# Description: Widely used set of C/C++ libraries providing Unicode and Globalization support.
|
|
# URL: http://www.icu-project.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
name=icu
|
|
version=67.1
|
|
release=1
|
|
source=(https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version/./_}-src.tgz)
|
|
|
|
build() {
|
|
cd icu/source
|
|
|
|
# icu tries to use clang by default
|
|
[ "$CC" ] || export CC=gcc
|
|
[ "$CXX" ] || export CXX=g++
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--disable-samples \
|
|
--disable-tests
|
|
|
|
make
|
|
make -j1 DESTDIR=$PKG install
|
|
}
|