repo/extra/tzdata/build

14 lines
357 B
Plaintext
Raw Normal View History

2019-07-17 16:23:05 -06:00
#!/bin/sh -e
pkg_dir=$1
2019-10-08 12:42:22 -06:00
make CC="${CC:-gcc}"
make DESTDIR="$1" 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