Commit | Line | Data |
---|---|---|
b295581a VM |
1 | # Description: Widely used set of C/C++ libraries providing Unicode and Globalization support. |
2 | # URL: http://www.icu-project.org/ | |
3 | # Maintainer: Danny Rawlins, crux at romster dot me | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | # Packager: Younes Hafri, ycrux at club-internet dot fr | |
6 | ||
7 | name=icu | |
6d18972a | 8 | version=67.1 |
b295581a | 9 | release=1 |
aae85d26 | 10 | source=(https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version/./_}-src.tgz |
6d18972a | 11 | icudata-stdlibs.patch) |
b295581a VM |
12 | |
13 | build() { | |
14 | cd icu/source | |
d8b5a597 | 15 | |
6d18972a | 16 | patch -p2 -i $SRC/icudata-stdlibs.patch |
aae85d26 | 17 | |
d8b5a597 VM |
18 | # icu tries to use clang by default |
19 | [ "$CC" ] || export CC=gcc | |
20 | [ "$CXX" ] || export CXX=g++ | |
21 | ||
b295581a VM |
22 | ./configure \ |
23 | --prefix=/usr \ | |
6d18972a | 24 | --mandir=/usr/share/man \ |
b295581a VM |
25 | --disable-samples \ |
26 | --disable-tests | |
27 | ||
28 | make | |
22c0fe16 | 29 | make -j1 DESTDIR=$PKG install |
b295581a | 30 | } |