diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-08-28 22:59:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-08-28 22:59:36 +0000 |
commit | 453f6747dd087e3570047c002bda76c37b5fc376 (patch) | |
tree | fadfdd03ca5fd443fafb89882db1eb7fbcc76c2f /sys-libs | |
parent | old (diff) | |
download | gentoo-2-453f6747dd087e3570047c002bda76c37b5fc376.tar.gz gentoo-2-453f6747dd087e3570047c002bda76c37b5fc376.tar.bz2 gentoo-2-453f6747dd087e3570047c002bda76c37b5fc376.zip |
Version bump #145374 by Rodrigo Severo.
(Portage version: 2.1.1_rc1-r1)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/timezone-data/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/timezone-data/files/digest-timezone-data-2006k | 6 | ||||
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2006k.ebuild | 52 |
3 files changed, 65 insertions, 1 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog index 0b61f7e3a5dd..7b1c86a449d5 100644 --- a/sys-libs/timezone-data/ChangeLog +++ b/sys-libs/timezone-data/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/timezone-data # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.38 2006/08/25 10:27:06 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.39 2006/08/28 22:59:36 vapier Exp $ + +*timezone-data-2006k (28 Aug 2006) + + 28 Aug 2006; Mike Frysinger <vapier@gentoo.org> + +timezone-data-2006k.ebuild: + Version bump #145374 by Rodrigo Severo. 25 Aug 2006; <ticho@gentoo.org> timezone-data-2006g.ebuild: Stable on x86, bug #144711. diff --git a/sys-libs/timezone-data/files/digest-timezone-data-2006k b/sys-libs/timezone-data/files/digest-timezone-data-2006k new file mode 100644 index 000000000000..65d1d83f171d --- /dev/null +++ b/sys-libs/timezone-data/files/digest-timezone-data-2006k @@ -0,0 +1,6 @@ +MD5 ada0f094380030b9b4479def5f58231d tzcode2006k.tar.gz 187034 +RMD160 6a356750ca48cec1335e415b7e2c622eef9bca1b tzcode2006k.tar.gz 187034 +SHA256 fca27ce337f99435986a7d6835ab6cf07e184b1582a63dd0f074d06ccdbae218 tzcode2006k.tar.gz 187034 +MD5 a7a5f3b147ed6d3c0d31cd9fc2563caf tzdata2006k.tar.gz 156379 +RMD160 e76d570e4f6e5725faf8bdc9fbc7b2af3f6a2a42 tzdata2006k.tar.gz 156379 +SHA256 2d74ecaedd4a8b8c5ee6d74b7fe776ddf5f73fbb6cb39718d3d677d49fba99a5 tzdata2006k.tar.gz 156379 diff --git a/sys-libs/timezone-data/timezone-data-2006k.ebuild b/sys-libs/timezone-data/timezone-data-2006k.ebuild new file mode 100644 index 000000000000..b8384d3b1ade --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2006k.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/timezone-data-2006k.ebuild,v 1.1 2006/08/28 22:59:36 vapier Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="Timezone data (/usr/share/zoneinfo) and utilities (tzselect/zic/zdump)" +HOMEPAGE="ftp://elsie.nci.nih.gov/pub/" +SRC_URI="ftp://elsie.nci.nih.gov/pub/tzdata${PV}.tar.gz + ftp://elsie.nci.nih.gov/pub/tzcode${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="elibc_FreeBSD" + +DEPEND="" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/${PN}-2005n-makefile.patch + tc-is-cross-compiler && cp -pR ${S} ${S}-native +} + +src_compile() { + tc-export CC + # Fixes bug #138251. + use elibc_FreeBSD && append-flags -DSTD_INSPIRED + emake || die "emake failed" +} + +src_install() { + local zic="" + if tc-is-cross-compiler; then + make -C ${S}-native CC=$(tc-getBUILD_CC) zic || die + zic="zic=${S}-native/zic" + fi + make install ${zic} DESTDIR="${D}" || die + rm -rf "${D}"/usr/share/zoneinfo-leaps + dodoc README Theory + dohtml *.htm *.jpg +} + +pkg_postinst() { + if [[ ! -e ${ROOT}/etc/localtime ]] ; then + ewarn "Please remember to set your timezone using the zic command." + rm -f "${ROOT}"/etc/localtime + ln -s ../usr/share/zoneinfo/Factory "${ROOT}"/etc/localtime + fi +} |