core/tzdata/Pkgfile

28 lines
743 B
Plaintext
Raw Normal View History

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
version=2016a
2012-08-08 09:53:29 +02:00
release=1
2014-01-20 13:00:23 +01:00
source=(http://www.iana.org/time-zones/repository/releases/$name$version.tar.gz
http://www.iana.org/time-zones/repository/releases/tzcode$version.tar.gz)
2012-08-08 09:53:29 +02:00
build() {
make install \
CFLAGS="$CFLAGS" \
DESTDIR=$PKG \
TOPDIR=/usr \
TZDIR=/usr/share/zoneinfo \
ETCDIR=/usr/sbin \
MANDIR=/usr/share/man
# provided by man-pages
rm -r $PKG/usr/share/man/man{5,8}
# move tzselect to /usr/bin
install -d $PKG/usr/bin
mv $PKG/usr/{sbin/tzselect,bin}
2012-08-08 09:53:29 +02:00
}