summaryrefslogtreecommitdiff
path: root/elements/icu-common/icu.bst
diff options
context:
space:
mode:
Diffstat (limited to 'elements/icu-common/icu.bst')
-rw-r--r--elements/icu-common/icu.bst26
1 files changed, 26 insertions, 0 deletions
diff --git a/elements/icu-common/icu.bst b/elements/icu-common/icu.bst
new file mode 100644
index 00000000..5cb2ac6e
--- /dev/null
+++ b/elements/icu-common/icu.bst
@@ -0,0 +1,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