summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-04-05 17:03:46 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-04-05 17:03:46 +0000
commit7e5d7ed3bb3d199781ee7d3648468f9fb0f916f0 (patch)
tree92efd28ec49aab24771957ae79e96bf4a223a155 /dev-libs/icu
parentStable on amd64, bug #264982 (diff)
downloadgentoo-2-7e5d7ed3bb3d199781ee7d3648468f9fb0f916f0.tar.gz
gentoo-2-7e5d7ed3bb3d199781ee7d3648468f9fb0f916f0.tar.bz2
gentoo-2-7e5d7ed3bb3d199781ee7d3648468f9fb0f916f0.zip
Version bump (bug #248912).
(Portage version: 13290-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/icu')
-rw-r--r--dev-libs/icu/ChangeLog10
-rw-r--r--dev-libs/icu/icu-4.0.1.ebuild77
-rw-r--r--dev-libs/icu/metadata.xml4
3 files changed, 89 insertions, 2 deletions
diff --git a/dev-libs/icu/ChangeLog b/dev-libs/icu/ChangeLog
index 824ca35759e8..f3cf9d883a36 100644
--- a/dev-libs/icu/ChangeLog
+++ b/dev-libs/icu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/icu
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.76 2008/02/20 04:17:04 beandog Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.77 2009/04/05 17:03:46 arfrever Exp $
+
+*icu-4.0.1 (05 Apr 2009)
+
+ 05 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ metadata.xml, +icu-4.0.1.ebuild:
+ Version bump (bug #248912).
20 Feb 2008; Steve Dibb <beandog@gentoo.org> icu-3.6-r2.ebuild:
amd64 stable, security bug 208001
diff --git a/dev-libs/icu/icu-4.0.1.ebuild b/dev-libs/icu/icu-4.0.1.ebuild
new file mode 100644
index 000000000000..6d78905a7b16
--- /dev/null
+++ b/dev-libs/icu/icu-4.0.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-4.0.1.ebuild,v 1.1 2009/04/05 17:03:46 arfrever Exp $
+
+EAPI="2"
+
+inherit versionator
+
+DESCRIPTION="International Components for Unicode"
+HOMEPAGE="http://www.icu-project.org/ http://ibm.com/software/globalization/icu/"
+
+BASEURI="http://download.icu-project.org/files/${PN}4c/${PV}"
+DOCS_PV="$(get_version_component_range 1-2)"
+DOCS_BASEURI="http://download.icu-project.org/files/${PN}4c/${DOCS_PV}"
+DOCS_PV="${DOCS_PV/./_}"
+SRCPKG="${PN}4c-${PV//./_}-src.tgz"
+USERGUIDE="${PN}-${DOCS_PV}-userguide.zip"
+APIDOCS="${PN}4c-${DOCS_PV}-docs.zip"
+
+SRC_URI="${BASEURI}/${SRCPKG}
+ doc? ( ${DOCS_BASEURI}/${USERGUIDE}
+ ${DOCS_BASEURI}/${APIDOCS} )"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="debug doc examples"
+
+DEPEND="doc? ( app-arch/unzip )"
+RDEPEND=""
+
+S="${WORKDIR}/${PN}/source"
+
+src_unpack() {
+ unpack ${SRCPKG}
+ if use doc ; then
+ mkdir userguide
+ pushd ./userguide > /dev/null
+ unpack ${USERGUIDE}
+ popd > /dev/null
+
+ mkdir apidocs
+ pushd ./apidocs > /dev/null
+ unpack ${APIDOCS}
+ popd > /dev/null
+ fi
+}
+
+src_prepare() {
+ # Do not hardcode used CFLAGS, LDFLAGS etc. into icu-config
+ # Bug 202059
+ # http://bugs.icu-project.org/trac/ticket/6102
+ for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do
+ sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in || die "sed failed"
+ done
+}
+
+src_configure() {
+ econf \
+ --enable-static \
+ $(use_enable debug) \
+ $(use_enable examples samples)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dohtml ../readme.html
+ dodoc ../unicode-license.txt
+ if use doc ; then
+ insinto /usr/share/doc/${PF}/html/userguide
+ doins -r "${WORKDIR}"/userguide/userguide/*
+
+ insinto /usr/share/doc/${PF}/html/apidocs
+ doins -r "${WORKDIR}"/apidocs/*
+ fi
+}
diff --git a/dev-libs/icu/metadata.xml b/dev-libs/icu/metadata.xml
index fd3dbe39fa64..4d0c1d40e1ce 100644
--- a/dev-libs/icu/metadata.xml
+++ b/dev-libs/icu/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>php</herd>
+ <maintainer>
+ <email>arfrever@gentoo.org</email>
+ <name>Arfrever Frehtes Taifersar Arahesis</name>
+ </maintainer>
</pkgmetadata>