diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-11-29 01:16:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-11-29 01:16:06 +0000 |
commit | e37f74941aeb40a777ec9dd86d86feaee0229a00 (patch) | |
tree | 3c2ad79dc2a29edda241dff2edf4383b46f7672b /sys-libs/timezone-data | |
parent | old (diff) | |
download | gentoo-2-e37f74941aeb40a777ec9dd86d86feaee0229a00.tar.gz gentoo-2-e37f74941aeb40a777ec9dd86d86feaee0229a00.tar.bz2 gentoo-2-e37f74941aeb40a777ec9dd86d86feaee0229a00.zip |
Version bump #156416 by Rodrigo Severo.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'sys-libs/timezone-data')
-rw-r--r-- | sys-libs/timezone-data/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/timezone-data/files/digest-timezone-data-2006p | 6 | ||||
-rw-r--r-- | sys-libs/timezone-data/timezone-data-2006p.ebuild | 59 |
3 files changed, 72 insertions, 1 deletions
diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog index db237cd858e4..eddecc1f651e 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.53 2006/11/06 20:23:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.54 2006/11/29 01:16:06 vapier Exp $ + +*timezone-data-2006p (29 Nov 2006) + + 29 Nov 2006; Mike Frysinger <vapier@gentoo.org> + +timezone-data-2006p.ebuild: + Version bump #156416 by Rodrigo Severo. *timezone-data-2006o (06 Nov 2006) diff --git a/sys-libs/timezone-data/files/digest-timezone-data-2006p b/sys-libs/timezone-data/files/digest-timezone-data-2006p new file mode 100644 index 000000000000..f9b2c72f510f --- /dev/null +++ b/sys-libs/timezone-data/files/digest-timezone-data-2006p @@ -0,0 +1,6 @@ +MD5 a1665dde14d48353563cd98cc196df4a tzcode2006p.tar.gz 187340 +RMD160 d076f1bd80a3c6676cb32b0f4b2d67a76d66af29 tzcode2006p.tar.gz 187340 +SHA256 abbe9907e5d1073e9190700527428e3af65a25edb2516259c0bf42785f20df53 tzcode2006p.tar.gz 187340 +MD5 cbdf758536710f444de1467fdc19594f tzdata2006p.tar.gz 157220 +RMD160 846f6d6d65bbad0e9cd1f346e7cfc78ed5bcb116 tzdata2006p.tar.gz 157220 +SHA256 6b246374b468d8ead477541f4624b74cd1da2b3de7ef757a3fc40ca29cfb29bc tzdata2006p.tar.gz 157220 diff --git a/sys-libs/timezone-data/timezone-data-2006p.ebuild b/sys-libs/timezone-data/timezone-data-2006p.ebuild new file mode 100644 index 000000000000..2357542526d3 --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2006p.ebuild @@ -0,0 +1,59 @@ +# 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-2006p.ebuild,v 1.1 2006/11/29 01:16:06 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 ~sparc-fbsd x86 ~x86-fbsd" +IUSE="nls" + +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 + use elibc_FreeBSD && append-flags -DSTD_INSPIRED #138251 + if use nls ; then + use elibc_glibc || append-ldflags -lintl #154181 + export NLS=1 + else + export NLS=0 + fi + emake || die "emake failed" + if tc-is-cross-compiler ; then + make -C "${S}"-native CC=$(tc-getBUILD_CC) zic || die + fi +} + +src_install() { + local zic="" + tc-is-cross-compiler && zic="zic=${S}-native/zic" + 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 +} |