diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-09-19 00:22:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-09-19 00:22:27 +0000 |
commit | 54335f3b0932035df19b476a69ce63b68aadc508 (patch) | |
tree | 468e519e9f45251c041de5612889cd6350ec5e6e /sys-libs | |
parent | old (diff) | |
download | gentoo-2-54335f3b0932035df19b476a69ce63b68aadc508.tar.gz gentoo-2-54335f3b0932035df19b476a69ce63b68aadc508.tar.bz2 gentoo-2-54335f3b0932035df19b476a69ce63b68aadc508.zip |
Version bump #148101 by Rodrigo Severo.
(Portage version: 2.1.2_pre1)
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-2006l | 6 | ||||
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2006l.ebuild | 54 |
3 files changed, 67 insertions, 1 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog index 7b1c86a449d5..f17fe8478f82 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.39 2006/08/28 22:59:36 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.40 2006/09/19 00:22:27 vapier Exp $ + +*timezone-data-2006l (19 Sep 2006) + + 19 Sep 2006; Mike Frysinger <vapier@gentoo.org> + +timezone-data-2006l.ebuild: + Version bump #148101 by Rodrigo Severo. *timezone-data-2006k (28 Aug 2006) diff --git a/sys-libs/timezone-data/files/digest-timezone-data-2006l b/sys-libs/timezone-data/files/digest-timezone-data-2006l new file mode 100644 index 000000000000..0f3638e314ea --- /dev/null +++ b/sys-libs/timezone-data/files/digest-timezone-data-2006l @@ -0,0 +1,6 @@ +MD5 ada0f094380030b9b4479def5f58231d tzcode2006k.tar.gz 187034 +RMD160 6a356750ca48cec1335e415b7e2c622eef9bca1b tzcode2006k.tar.gz 187034 +SHA256 fca27ce337f99435986a7d6835ab6cf07e184b1582a63dd0f074d06ccdbae218 tzcode2006k.tar.gz 187034 +MD5 8f1c7aeeb9674feb25e0a9764517f980 tzdata2006l.tar.gz 157067 +RMD160 92ba0a528aba604107f539cd6fd10496835b555b tzdata2006l.tar.gz 157067 +SHA256 b142459df80b724ca7d8eec0020b1bd97bbbc58f9223b8a3774151cbc5ba48d2 tzdata2006l.tar.gz 157067 diff --git a/sys-libs/timezone-data/timezone-data-2006l.ebuild b/sys-libs/timezone-data/timezone-data-2006l.ebuild new file mode 100644 index 000000000000..64ec0c1e2341 --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2006l.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-2006l.ebuild,v 1.1 2006/09/19 00:22:27 vapier Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +code_ver=${PV/l/k} +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 +} |