aboutsummaryrefslogtreecommitdiff
path: root/extra/tzdata/build
blob: 369842d05518054e8c1cccaa8026764ba29b9eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

pkg_dir=$1

make CC="${CC:-gcc}"
make DESTDIR="$1" install

set -- africa asia australasia europe northamerica southamerica

./zic -d "$pkg_dir/usr/share/zoneinfo" "$@"
./zic -d "$pkg_dir/usr/share/zoneinfo/posix" "$@"
./zic -d "$pkg_dir/usr/share/zoneinfo/right" -L leapseconds "$@"
./zic -d "$pkg_dir/usr/share/zoneinfo" -p America/New_York