blob: 1fc2faeb554e2d3212efc9532b0ad2fac928201a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#!/bin/sh
MAKEDEPS="python"
DEPS="bash"
PKG_VER=71.1
SOURCE=https://github.com/unicode-org/icu/releases/download/release-$(echo $PKG_VER | sed 's/\./-/g')/icu4c-$(echo $PKG_VER | sed 's/\./_/g')-src.tgz
DESC="International Components for Unicode library"
ADDITIONAL="
fix-ucptrietest-golden-diff.patch
"
prepare () {
cd source
autoreconf -fi
#sed -i -e 's,DU_HAVE_STRTOD_L=1,DU_HAVE_STRTOD_L=0,' configure
}
build () {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-data-packaging=library \
--disable-samples \
--mandir=/usr/share/man
mkdir -p data/out
make
}
package () {
make DESTDIR=$PKG_DEST install
}
|