1 # Description: Sources for Time Zone and Daylight Saving Time Data
2 # URL: ftp://ftp.iana.org/tz/code/tz-link.htm
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://www.iana.org/time-zones/repository/releases/$name$version.tar.gz
11 http://www.iana.org/time-zones/repository/releases/tzcode$version.tar.gz
12 zic_host-makefile.patch)
15 # first compile native zic binary
16 make CFLAGS="" CC="gcc" zic
20 patch -p1 -i $SRC/zic_host-makefile.patch
26 TZDIR=/usr/share/zoneinfo \
28 MANDIR=/usr/share/man \
31 # provided by man-pages
32 rm -r $PKG/usr/share/man/man{5,8}
34 # move tzselect to /usr/bin
35 install -d $PKG/usr/bin
36 mv $PKG/usr/{sbin/tzselect,bin}