CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
icu: updated to 67.1
[ports/opt-arm.git] / icu / Pkgfile
CommitLineData
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
7name=icu
6d18972a 8version=67.1
b295581a 9release=1
aae85d26 10source=(https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version/./_}-src.tgz
6d18972a 11 icudata-stdlibs.patch)
b295581a
VM
12
13build() {
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}