summaryrefslogtreecommitdiff
path: root/elements/icu-common/icu.bst
blob: 5cb2ac6eb5a6a7596c2c9a31ddf29ec23519f006 (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
kind: manual
depends:
- coreutils-common.bst
sources:
- kind: git
  url: upstream:icu
  track: icu4c-52_1-src
  ref: e2bd11ca1374cccfa50b7d27507ba9fe581be76a
config:
  configure-commands:
  - |
    # As per commit 8874a7c7, We issue this sed command when
    # building ICU libraries on arm architectures.
    case "%{arch}" in
    *arm*)
      sed -e 's/LDFLAGSICUDT/#LDFLAGSICUDT/' -i source/config/mh-linux
      ;;
    *)
      ;;
    esac
    cd source
    ./runConfigureICU Linux --prefix=/usr --sysconfdir=/etc
  build-commands:
  - cd source; unset TARGET ; make
  install-commands:
  - cd source; unset TARGET ; make DESTDIR="%{install-root}" install