From: Mike Frysinger Date: Wed, 11 Oct 2006 03:14:39 +0000 (+0000) Subject: Version bump #150762 by Rodrigo Severo. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f631b32e5eb943f7ffdfc3f0e32291abfb4b459f;p=gentoo.git Version bump #150762 by Rodrigo Severo. Package-Manager: portage-2.1.2_pre2-r5 --- diff --git a/sys-libs/timezone-data/ChangeLog b/sys-libs/timezone-data/ChangeLog index 538fd4c6fcd5..e9501645fcd2 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.41 2006/10/03 00:52:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/timezone-data/ChangeLog,v 1.42 2006/10/11 03:14:39 vapier Exp $ + +*timezone-data-2006n (11 Oct 2006) + + 11 Oct 2006; Mike Frysinger + +timezone-data-2006n.ebuild: + Version bump #150762 by Rodrigo Severo. *timezone-data-2006m (03 Oct 2006) diff --git a/sys-libs/timezone-data/files/digest-timezone-data-2006n b/sys-libs/timezone-data/files/digest-timezone-data-2006n new file mode 100644 index 000000000000..aed8252b53f6 --- /dev/null +++ b/sys-libs/timezone-data/files/digest-timezone-data-2006n @@ -0,0 +1,6 @@ +MD5 8eacb8dab98dbb95c4085b6c77ba3083 tzcode2006n.tar.gz 187066 +RMD160 1f382452ef2f14e6c542918bb04556bb667f34b1 tzcode2006n.tar.gz 187066 +SHA256 c95d2f3ca68608f29c98d94aa88e260096e2a91025ad6319fb28af3f0eaee56c tzcode2006n.tar.gz 187066 +MD5 dee8a703541c5d28a656efdac6a6d525 tzdata2006n.tar.gz 157084 +RMD160 8b9eba9fc646bd7a25c51c9cabbb043ce8f70301 tzdata2006n.tar.gz 157084 +SHA256 406896398bb307eea317758790f320e3d5f2c61eceb7442ec1461c7bfcd66a60 tzdata2006n.tar.gz 157084 diff --git a/sys-libs/timezone-data/timezone-data-2006n.ebuild b/sys-libs/timezone-data/timezone-data-2006n.ebuild new file mode 100644 index 000000000000..758e5f629e06 --- /dev/null +++ b/sys-libs/timezone-data/timezone-data-2006n.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-2006n.ebuild,v 1.1 2006/10/11 03:14:39 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 +}