Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 248912
Collapse All | Expand All

(-)file_not_specified_in_diff (-19 / +13 lines)
Line  Link Here
0
-- dev-libs/icu/icu-3.8.1-r1.ebuild
0
++ dev-libs/icu/icu-4.0.1.ebuild
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-3.8.1-r1.ebuild,v 1.7 2008/12/07 12:06:07 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-3.8.1-r1.ebuild,v 1.7 2008/12/07 12:06:07 vapier Exp $
4
4
5
inherit eutils versionator
5
EAPI="2"
6
7
inherit versionator
6
8
7
DESCRIPTION="International Components for Unicode"
9
DESCRIPTION="International Components for Unicode"
8
HOMEPAGE="http://www.icu-project.org/ http://ibm.com/software/globalization/icu/"
10
HOMEPAGE="http://www.icu-project.org/ http://ibm.com/software/globalization/icu/"
Lines 21-33 Link Here
21
23
22
LICENSE="BSD"
24
LICENSE="BSD"
23
SLOT="0"
25
SLOT="0"
24
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
26
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
25
IUSE="debug doc examples"
27
IUSE="debug doc examples"
26
28
27
DEPEND="doc? ( app-arch/unzip )"
29
DEPEND="doc? ( app-arch/unzip )"
28
RDEPEND=""
30
RDEPEND=""
29
31
30
S=${WORKDIR}/${PN}/source
32
S="${WORKDIR}/${PN}/source"
31
33
32
src_unpack() {
34
src_unpack() {
33
	unpack ${SRCPKG}
35
	unpack ${SRCPKG}
Lines 35-57 Link Here
35
		mkdir userguide
37
		mkdir userguide
36
		pushd ./userguide > /dev/null
38
		pushd ./userguide > /dev/null
37
		unpack ${USERGUIDE}
39
		unpack ${USERGUIDE}
38
		popd
40
		popd > /dev/null
39
41
40
		mkdir apidocs
42
		mkdir apidocs
41
		pushd ./apidocs > /dev/null
43
		pushd ./apidocs > /dev/null
42
		unpack ${APIDOCS}
44
		unpack ${APIDOCS}
43
		popd
45
		popd > /dev/null
44
	fi
46
	fi
47
}
45
48
46
	# See http://qa.openoffice.org/issues/show_bug.cgi?id=83146
49
src_prepare() {
47
	# and http://bugs.icu-project.org/trac/ticket/5498 for details
50
	# Do not hardcode used CFLAGS, LDFLAGS etc. into icu-config
48
	cd "${S}"
49
	epatch "${FILESDIR}"/${PN}-3.8-setBreakType-public.diff
50
51
	# Bug 208001
52
	epatch "${FILESDIR}"/${PN}-3.8-regexp-CVE-2007-4770+4771.diff
53
54
	# do not hardcode used CFLAGS, LDFLAGS etc. into icu-config
55
	# Bug 202059
51
	# Bug 202059
56
	# http://bugs.icu-project.org/trac/ticket/6102
52
	# http://bugs.icu-project.org/trac/ticket/6102
57
	for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do
53
	for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do
Lines 59-71 Link Here
59
	done
55
	done
60
}
56
}
61
57
62
src_compile() {
58
src_configure() {
63
	econf \
59
	econf \
64
		--enable-static \
60
		--enable-static \
65
		$(use_enable debug) \
61
		$(use_enable debug) \
66
		$(use_enable examples samples)
62
		$(use_enable examples samples)
67
68
	emake -j1 || die "emake failed"
69
}
63
}
70
64
71
src_install() {
65
src_install() {
Lines 75-81 Link Here
75
	dodoc ../unicode-license.txt
69
	dodoc ../unicode-license.txt
76
	if use doc ; then
70
	if use doc ; then
77
		insinto /usr/share/doc/${PF}/html/userguide
71
		insinto /usr/share/doc/${PF}/html/userguide
78
		doins -r "${WORKDIR}"/userguide/*
72
		doins -r "${WORKDIR}"/userguide/userguide/*
79
73
80
		insinto /usr/share/doc/${PF}/html/apidocs
74
		insinto /usr/share/doc/${PF}/html/apidocs
81
		doins -r "${WORKDIR}"/apidocs/*
75
		doins -r "${WORKDIR}"/apidocs/*

Return to bug 248912