summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-02-04 23:19:43 (GMT)
committerJavier Jardón <jjardon@gnome.org>2015-02-04 23:20:00 (GMT)
commit6b24a8cf80c263f8089cc1f7e866107693359b88 (patch)
tree76010375d87148084052a4efdcf5329efa59ee25
parent918e33e27a3c8921c6fcad517e5bbe394cf16168 (diff)
downloaddefinitions-baserock/jjardon/tzdata.tar.gz
strata/foundation: Add tzdatabaserock/jjardon/tzdata
-rw-r--r--strata/foundation.morph6
-rw-r--r--strata/foundation/tzdata.morph12
2 files changed, 18 insertions, 0 deletions
diff --git a/strata/foundation.morph b/strata/foundation.morph
index 1011180..6a4efc4 100644
--- a/strata/foundation.morph
+++ b/strata/foundation.morph
@@ -4,6 +4,12 @@ description: Basic userland runtime system
build-depends:
- morph: strata/coreutils-common.morph
chunks:
+- name: tzdata
+ morph: strata/foundation/tzdata.morph
+ repo: upstream:tz
+ ref: a0782484f101ac55c916568bc1c490d7761fc904
+ unpetrify-ref: 2015a
+ build-depends: []
- name: attr
morph: strata/foundation/attr.morph
repo: upstream:attr
diff --git a/strata/foundation/tzdata.morph b/strata/foundation/tzdata.morph
new file mode 100644
index 0000000..6e275b2
--- /dev/null
+++ b/strata/foundation/tzdata.morph
@@ -0,0 +1,12 @@
+name: tzdata
+kind: chunk
+configure-commands:
+- mkdir -pv "$DESTDIR"/usr/share/zoneinfo/{posix,right}
+build-commands:
+- make
+install-commands:
+- zic -y ./yearistype -d "$DESTDIR"/usr/share/zoneinfo
+- zic -y ./yearistype -d "$DESTDIR"/usr/share/zoneinfo/posix
+- zic -y ./yearistype -d "$DESTDIR"/usr/share/zoneinfo/right -L leapseconds
+- zic -y ./yearistype -d "$DESTDIR"/usr/share/zoneinfo -p America/New_York
+- cp -v zone.tab zone1970.tab iso3166.tab "$DESTDIR"/usr/share/zoneinfo