Commit | Line | Data |
---|---|---|
6214a1c8 VM |
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 | |
5 | ||
6 | name=tzdata | |
fcacfef8 | 7 | version=2014e |
6214a1c8 VM |
8 | release=1 |
9 | ||
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 | tzcode-makefile.patch zic_host-makefile.patch) | |
13 | ||
14 | build() { | |
15 | patch -p1 -i $SRC/tzcode-makefile.patch | |
16 | ||
17 | # first compile native zic binary | |
18 | make CFLAGS="" CC="gcc" zic | |
19 | cp zic zic_host | |
20 | make clean | |
21 | ||
22 | patch -p0 -i $SRC/zic_host-makefile.patch | |
23 | make | |
6214a1c8 VM |
24 | make DESTDIR=$PKG install |
25 | } |