summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-03 00:52:23 +0000
committerMike Frysinger <vapier@gentoo.org>2006-10-03 00:52:23 +0000
commit2d1ca71b13a5467584c72a87569bb61176b4e864 (patch)
tree19460a29f0e214bc77e35510136c0136691c070a /sys-libs/timezone-data
parentHeader fix. (diff)
downloadgentoo-2-2d1ca71b13a5467584c72a87569bb61176b4e864.tar.gz
gentoo-2-2d1ca71b13a5467584c72a87569bb61176b4e864.tar.bz2
gentoo-2-2d1ca71b13a5467584c72a87569bb61176b4e864.zip
Version bump #149898 by Rodrigo Severo.
(Portage version: 2.1.2_pre2)
Diffstat (limited to 'sys-libs/timezone-data')
-rw-r--r--sys-libs/timezone-data/ChangeLog8
-rw-r--r--sys-libs/timezone-data/files/digest-timezone-data-2006m6
-rw-r--r--sys-libs/timezone-data/timezone-data-2006m.ebuild54
3 files changed, 67 insertions, 1 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog
index f17fe8478f82..538fd4c6fcd5 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.40 2006/09/19 00:22:27 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.41 2006/10/03 00:52:23 vapier Exp $
+
+*timezone-data-2006m (03 Oct 2006)
+
+ 03 Oct 2006; Mike Frysinger <vapier@gentoo.org>
+ +timezone-data-2006m.ebuild:
+ Version bump #149898 by Rodrigo Severo.
*timezone-data-2006l (19 Sep 2006)
diff --git a/sys-libs/timezone-data/files/digest-timezone-data-2006m b/sys-libs/timezone-data/files/digest-timezone-data-2006m
new file mode 100644
index 000000000000..c72dada4ccec
--- /dev/null
+++ b/sys-libs/timezone-data/files/digest-timezone-data-2006m
@@ -0,0 +1,6 @@
+MD5 355add0f26c418d4d440a3aba4fee7fb tzcode2006m.tar.gz 187046
+RMD160 0e55d63a07f4c6524c65a861f1c4116ff2ffa308 tzcode2006m.tar.gz 187046
+SHA256 f01b0f5209e649d1a40b38b14248dc6d0c3b192865b8f18fd1fb3088f0ff077e tzcode2006m.tar.gz 187046
+MD5 61c7891bef743d6f58312e7e86f990ef tzdata2006m.tar.gz 156907
+RMD160 1816a2b6ee1846b131e2f0affe47a2dd2811d22d tzdata2006m.tar.gz 156907
+SHA256 b0c42aa6e48d1eb4ad79aa3961541ff536f139c955a49893171814dead78d6a1 tzdata2006m.tar.gz 156907
diff --git a/sys-libs/timezone-data/timezone-data-2006m.ebuild b/sys-libs/timezone-data/timezone-data-2006m.ebuild
new file mode 100644
index 000000000000..83ee819c9d62
--- /dev/null
+++ b/sys-libs/timezone-data/timezone-data-2006m.ebuild
@@ -0,0 +1,54 @@
+# 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-2006m.ebuild,v 1.1 2006/10/03 00:52:23 vapier Exp $
+
+inherit eutils toolchain-funcs flag-o-matic
+
+code_ver=${PV}
+data_ver=${PV}
+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${data_ver}.tar.gz
+ ftp://elsie.nci.nih.gov/pub/tzcode${code_ver}.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
+}