summaryrefslogtreecommitdiff
path: root/repo/system/icu.xibuild
blob: 918982f9cedb286db4e7cb51d357346926f8316b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

MAKEDEPS="python gcc"
DEPS="bash"

PKG_VER=70.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"

prepare () {
    cd source                                    &&
    sed -i -e 's,DU_HAVE_STRTOD_L=1,DU_HAVE_STRTOD_L=0,' configure
}

build () {
    ./configure --prefix=/usr                    &&
    make

}

package () {
    make DESTDIR=$PKG_DEST install
}