14 lines
372 B
Plaintext
14 lines
372 B
Plaintext
|
#!/bin/sh -e
|
||
|
|
||
|
pkg_dir=$1
|
||
|
|
||
|
make CC="${CC:-cc}"
|
||
|
make DESTDIR="$1" ZICDIR=/usr/bin 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
|