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
