2009-02-17 13:59:58 +01:00
|
|
|
# Template build file for 'tzdata'.
|
2009-01-28 16:06:47 +01:00
|
|
|
pkgname=tzdata
|
|
|
|
wrksrc=${pkgname}
|
2010-01-04 16:07:17 +01:00
|
|
|
create_wrksrc=yes
|
2012-03-02 09:17:12 +01:00
|
|
|
_tzcode_ver=2012b
|
2012-04-04 08:30:43 +02:00
|
|
|
_tzdata_ver=2012c
|
2011-10-10 23:27:01 +02:00
|
|
|
version=${_tzdata_ver}
|
2009-01-28 16:06:47 +01:00
|
|
|
distfiles="
|
2012-04-04 08:30:43 +02:00
|
|
|
ftp://munnari.oz.au/pub/tzcode${_tzcode_ver}.tar.gz
|
|
|
|
ftp://munnari.oz.au/pub/tzdata${_tzdata_ver}.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-makefile
|
2012-01-12 12:17:00 +01:00
|
|
|
homepage="http://www.iana.org/time-zones"
|
2009-01-28 16:06:47 +01:00
|
|
|
short_desc="Time zone and daylight-saving time data"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-10 23:27:01 +02:00
|
|
|
license="GPL-2"
|
2009-01-28 16:06:47 +01:00
|
|
|
checksum="
|
2012-03-02 09:17:12 +01:00
|
|
|
4345a2de239a7b6e5ab286052cc269eb07d63798ae14ba715eb4c6bdfa0f3350
|
2012-04-04 08:30:43 +02:00
|
|
|
33e19e1dd27bda5239812587d72971509a15b59baff7abd692b77ff66f168a82"
|
2009-01-28 16:06:47 +01: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 09:17:12 +01:00
|
|
|
Add_dependency run bash
|
|
|
|
Add_dependency run gawk
|
2010-01-04 16:07:17 +01:00
|
|
|
|
2012-03-02 09:17:12 +01:00
|
|
|
post_install() {
|
2010-01-04 16:07:17 +01:00
|
|
|
# Remove useless stuff
|
|
|
|
rm -rf ${DESTDIR}/usr/lib
|
2011-10-10 23:36:01 +02:00
|
|
|
rm -f ${DESTDIR}/usr/share/zoneinfo/localtime
|
2010-01-04 16:07:17 +01:00
|
|
|
}
|