2012-10-31 08:47:36 +11:00
|
|
|
# Description: Widely used set of C/C++ libraries providing Unicode and Globalization support.
|
|
|
|
# URL: http://www.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
|
|
|
# Packager: Younes Hafri, ycrux at club-internet dot fr
|
|
|
|
|
|
|
|
name=icu
|
2016-12-29 11:18:20 +11:00
|
|
|
version=58.2
|
2012-10-31 08:47:36 +11:00
|
|
|
release=1
|
2016-12-29 11:18:20 +11:00
|
|
|
source=(http://download.icu-project.org/files/icu4c/$version/icu4c-${version//./_}-src.tgz
|
|
|
|
icu-58.1-remove-bashisms.patch
|
|
|
|
icu-58.1-iterator.patch)
|
2012-10-31 08:47:36 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd icu/source
|
|
|
|
|
2016-12-29 11:18:20 +11:00
|
|
|
patch -p1 -i $SRC/icu-58.1-remove-bashisms.patch
|
|
|
|
patch -p1 -i $SRC/icu-58.1-iterator.patch
|
|
|
|
|
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 \
|
|
|
|
--disable-samples \
|
|
|
|
--disable-tests
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|