2012-08-08 09:53:29 +02:00
|
|
|
# Description: Sources for Time Zone and Daylight Saving Time Data
|
|
|
|
# URL: ftp://ftp.iana.org/tz/code/tz-link.htm
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
|
|
|
|
name=tzdata
|
2019-07-01 23:28:20 +02:00
|
|
|
version=2019b
|
2012-08-08 09:53:29 +02:00
|
|
|
release=1
|
2018-01-18 19:33:27 +01:00
|
|
|
source=(https://data.iana.org/time-zones/releases/tzdb-$version.tar.lz)
|
2012-08-08 09:53:29 +02:00
|
|
|
|
|
|
|
build() {
|
2018-01-18 19:33:27 +01:00
|
|
|
cd tzdb-$version
|
2016-01-29 15:20:16 +01:00
|
|
|
|
2018-01-18 19:33:27 +01:00
|
|
|
make CFLAGS="$CFLAGS"
|
|
|
|
make DESTDIR=$PKG install
|
2016-01-29 15:20:16 +01:00
|
|
|
|
|
|
|
# provided by man-pages
|
|
|
|
rm -r $PKG/usr/share/man/man{5,8}
|
|
|
|
|
2018-01-18 19:33:27 +01:00
|
|
|
# conflict with glibc
|
|
|
|
rm $PKG/etc/localtime
|
|
|
|
rmdir $PKG/etc
|
2012-08-08 09:53:29 +02:00
|
|
|
}
|