2012-08-08 09:53:29 +02:00
|
|
|
# Description: Sources for Time Zone and Daylight Saving Time Data
|
2021-10-16 08:29:26 +02:00
|
|
|
# URL: https://data.iana.org/time-zones/tz-link.html
|
2021-09-25 09:02:12 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2012-08-08 09:53:29 +02:00
|
|
|
|
|
|
|
name=tzdata
|
2021-10-16 08:23:58 +02:00
|
|
|
version=2021d
|
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() {
|
2021-09-25 09:02:12 +02:00
|
|
|
cd tzdb-$version
|
2016-01-29 15:20:16 +01:00
|
|
|
|
2021-10-16 08:23:58 +02:00
|
|
|
make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
2021-09-25 09:02:12 +02:00
|
|
|
make DESTDIR=$PKG install
|
2016-01-29 15:20:16 +01:00
|
|
|
|
2021-09-25 09:02:12 +02:00
|
|
|
# provided by man-pages
|
|
|
|
rm -r $PKG/usr/share/man/man{5,8}
|
2016-01-29 15:20:16 +01:00
|
|
|
|
2021-09-25 09:02:12 +02:00
|
|
|
# conflict with glibc
|
|
|
|
rm $PKG/etc/localtime
|
|
|
|
rmdir $PKG/etc
|
2012-08-08 09:53:29 +02:00
|
|
|
}
|