2009-02-17 12:59:58 +00:00
|
|
|
# Template build file for 'tzdata'.
|
2009-01-28 15:06:47 +00:00
|
|
|
pkgname=tzdata
|
|
|
|
wrksrc=${pkgname}
|
2010-01-04 15:07:17 +00:00
|
|
|
create_wrksrc=yes
|
2012-03-02 08:17:12 +00:00
|
|
|
_tzcode_ver=2012b
|
2012-04-04 06:30:43 +00:00
|
|
|
_tzdata_ver=2012c
|
2011-10-10 21:27:01 +00:00
|
|
|
version=${_tzdata_ver}
|
2012-07-01 08:44:10 +00:00
|
|
|
revision=4
|
2012-07-01 07:52:37 +00:00
|
|
|
noarch=yes
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-makefile
|
2012-01-12 11:17:00 +00:00
|
|
|
homepage="http://www.iana.org/time-zones"
|
2012-05-23 16:26:56 +00:00
|
|
|
depends="bash gawk"
|
2009-01-28 15:06:47 +00:00
|
|
|
short_desc="Time zone and daylight-saving time data"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-10 21:27:01 +00:00
|
|
|
license="GPL-2"
|
2012-07-01 07:52:37 +00:00
|
|
|
distfiles="
|
|
|
|
ftp://munnari.oz.au/pub/tzcode${_tzcode_ver}.tar.gz
|
|
|
|
ftp://munnari.oz.au/pub/tzdata${_tzdata_ver}.tar.gz"
|
2009-01-28 15:06:47 +00:00
|
|
|
checksum="
|
2012-03-02 08:17:12 +00:00
|
|
|
4345a2de239a7b6e5ab286052cc269eb07d63798ae14ba715eb4c6bdfa0f3350
|
2012-04-04 06:30:43 +00:00
|
|
|
33e19e1dd27bda5239812587d72971509a15b59baff7abd692b77ff66f168a82"
|
2009-01-28 15:06:47 +00:00
|
|
|
long_desc="
|
|
|
|
This package contains data required for the implementation of standard
|
|
|
|
local time for many representative locations around the globe. It is
|
|
|
|
updated periodically to reflect changes made by political bodies to time
|
|
|
|
zone boundaries, UTC offsets, and daylight-saving rules."
|
|
|
|
|
2012-03-02 08:17:12 +00:00
|
|
|
post_install() {
|
2010-01-04 15:07:17 +00:00
|
|
|
# Remove useless stuff
|
|
|
|
rm -rf ${DESTDIR}/usr/lib
|
2011-10-10 21:36:01 +00:00
|
|
|
rm -f ${DESTDIR}/usr/share/zoneinfo/localtime
|
2012-07-01 08:44:10 +00:00
|
|
|
find ${DESTDIR}/usr/share/zoneinfo -type f -exec chmod 644 {} \;
|
2012-07-01 07:46:16 +00:00
|
|
|
# Remove stuff available in glibc-2.16.
|
|
|
|
rm -f ${DESTDIR}/usr/sbin/zic
|
|
|
|
rm -f ${DESTDIR}/usr/sbin/zdump
|
2010-01-04 15:07:17 +00:00
|
|
|
}
|