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 | |
22c0fe16 | 8 | version=60.1 |
b295581a | 9 | release=1 |
22c0fe16 | 10 | source=(http://download.icu-project.org/files/icu4c/$version/icu4c-${version//./_}-src.tgz) |
b295581a VM |
11 | |
12 | build() { | |
13 | cd icu/source | |
d8b5a597 | 14 | |
d8b5a597 VM |
15 | # icu tries to use clang by default |
16 | [ "$CC" ] || export CC=gcc | |
17 | [ "$CXX" ] || export CXX=g++ | |
18 | ||
b295581a | 19 | sed -i -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" config/mh-linux |
d8b5a597 | 20 | |
b295581a VM |
21 | ./configure \ |
22 | --prefix=/usr \ | |
23 | --disable-samples \ | |
24 | --disable-tests | |
25 | ||
26 | make | |
22c0fe16 | 27 | make -j1 DESTDIR=$PKG install |
b295581a | 28 | } |