void-packages/srcpkgs/tzdata/template
2011-10-25 16:29:02 +02:00

34 lines
1 KiB
Text

# Template build file for 'tzdata'.
pkgname=tzdata
wrksrc=${pkgname}
create_wrksrc=yes
_tzcode_ver=2011i
_tzdata_ver=2011m
version=${_tzdata_ver}
distfiles="
ftp://munnari.oz.au/pub/tzcode${_tzcode_ver}.tar.gz
ftp://munnari.oz.au/pub/tzdata${_tzdata_ver}.tar.gz"
build_style=gnu-makefile
homepage="http://www.twinsun.com/tz/tz-link.htm"
short_desc="Time zone and daylight-saving time data"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum="
f0dd991de3f8d6c599c104e294377c9befa1ef40aa5a1d09e2e295a453f3c1ec
c8e01f5b4a3cd8b8aee84b4befb4b671cef34353e5af022ed22071f5b86ef5f4"
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."
Add_dependency full glibc
Add_dependency full bash
Add_dependency full gawk
post_install()
{
# Remove useless stuff
rm -rf ${DESTDIR}/usr/lib
rm -f ${DESTDIR}/usr/share/zoneinfo/localtime
}