summaryrefslogtreecommitdiff
path: root/elements/icu-common
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-05-24 16:33:10 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-05-24 16:33:10 +0100
commit7373d6f51fc587c1fd312020025a6fa5d740c46c (patch)
tree27903b33eee7d256c643b64272f7a4c7fa8d0d79 /elements/icu-common
parent1c79c155a3d75c763cbba37cdfaffe0ce1b1f8d8 (diff)
downloaddefinitions-7373d6f51fc587c1fd312020025a6fa5d740c46c.tar.gz
Add the newly converted-to-BuildStream definitions
This is not a conversion of all systems, just a subset.
Diffstat (limited to 'elements/icu-common')
-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..0845381c
--- /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 "%{bst-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