repo/extra/tzdata/build

14 lines
372 B
Plaintext
Raw Normal View History

2019-07-17 16:23:05 -06:00
#!/bin/sh -e
pkg_dir=$1
2020-02-12 00:01:09 -07:00
make CC="${CC:-cc}"
2020-04-27 23:03:35 -06:00
make DESTDIR="$1" ZICDIR=/usr/bin install
2019-07-17 16:23:05 -06:00
set -- africa asia australasia europe northamerica southamerica
2019-07-17 16:23:05 -06:00
./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