From: | "Jesus Rivero (neurogeek)" <neurogeek@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/icu: ChangeLog icu-4.8.1.ebuild |
Date: | Fri, 29 Jul 2011 15:45:39 |
Message-Id: | 20110729154527.7D4962004B@flycatcher.gentoo.org |
1 | neurogeek 11/07/29 15:45:27 |
2 | |
3 | Modified: ChangeLog |
4 | Added: icu-4.8.1.ebuild |
5 | Log: |
6 | Version bump. Ebuild by Arfrever. |
7 | |
8 | (Portage version: 2.2.0_alpha46/cvs/Linux i686) |
9 | |
10 | Revision Changes Path |
11 | 1.155 dev-libs/icu/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.155&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.155&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?r1=1.154&r2=1.155 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v |
20 | retrieving revision 1.154 |
21 | retrieving revision 1.155 |
22 | diff -u -r1.154 -r1.155 |
23 | --- ChangeLog 25 Jul 2011 18:34:42 -0000 1.154 |
24 | +++ ChangeLog 29 Jul 2011 15:45:27 -0000 1.155 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-libs/icu |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.154 2011/07/25 18:34:42 xarthisius Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.155 2011/07/29 15:45:27 neurogeek Exp $ |
30 | + |
31 | +*icu-4.8.1 (29 Jul 2011) |
32 | + |
33 | + 29 Jul 2011; Jesus Rivero <neurogeek@g.o> +icu-4.8.1.ebuild: |
34 | + Version bump. Ebuild by Arfrever. |
35 | |
36 | 25 Jul 2011; Kacper Kowalik <xarthisius@g.o> icu-4.8.ebuild: |
37 | ppc/ppc64 stable wrt #374589 |
38 | |
39 | |
40 | |
41 | 1.1 dev-libs/icu/icu-4.8.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.8.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.8.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: icu-4.8.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-4.8.1.ebuild,v 1.1 2011/07/29 15:45:27 neurogeek Exp $ |
51 | |
52 | EAPI="3" |
53 | |
54 | inherit versionator |
55 | |
56 | MAJOR_VERSION="$(get_version_component_range 1)" |
57 | MINOR_VERSION="$(get_version_component_range 2)" |
58 | if [[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+(_rc[[:digit:]]*)?$ ]]; then |
59 | MICRO_VERSION="0" |
60 | else |
61 | MICRO_VERSION="$(get_version_component_range 3)" |
62 | fi |
63 | |
64 | DESCRIPTION="International Components for Unicode" |
65 | HOMEPAGE="http://www.icu-project.org/" |
66 | |
67 | BASE_URI="http://download.icu-project.org/files/icu4c/${PV/_/}" |
68 | SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz" |
69 | DOCS_ARCHIVE="icu4c-${PV//./_}-docs.zip" |
70 | |
71 | SRC_URI="${BASE_URI}/${SRC_ARCHIVE} |
72 | doc? ( ${BASE_URI}/${DOCS_ARCHIVE} )" |
73 | |
74 | LICENSE="BSD" |
75 | SLOT="0" |
76 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
77 | IUSE="debug doc examples static-libs" |
78 | |
79 | DEPEND="doc? ( app-arch/unzip )" |
80 | RDEPEND="" |
81 | |
82 | S="${WORKDIR}/${PN}/source" |
83 | |
84 | QA_DT_NEEDED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}${MINOR_VERSION}\.${MICRO_VERSION}" |
85 | |
86 | src_unpack() { |
87 | unpack "${SRC_ARCHIVE}" |
88 | if use doc; then |
89 | mkdir docs |
90 | pushd docs > /dev/null |
91 | unpack "${DOCS_ARCHIVE}" |
92 | popd > /dev/null |
93 | fi |
94 | } |
95 | |
96 | src_prepare() { |
97 | # Do not hardcode flags into icu-config. |
98 | # https://ssl.icu-project.org/trac/ticket/6102 |
99 | local variable |
100 | for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do |
101 | sed -i -e "/^${variable} =.*/s:@${variable}@::" config/Makefile.inc.in || die "sed failed" |
102 | done |
103 | } |
104 | |
105 | src_configure() { |
106 | econf \ |
107 | $(use_enable debug) \ |
108 | $(use_enable examples samples) \ |
109 | $(use_enable static-libs static) |
110 | } |
111 | |
112 | src_test() { |
113 | # INTLTEST_OPTS: intltest options |
114 | # -e: Exhaustive testing |
115 | # -l: Reporting of memory leaks |
116 | # -v: Increased verbosity |
117 | # IOTEST_OPTS: iotest options |
118 | # -e: Exhaustive testing |
119 | # -v: Increased verbosity |
120 | # CINTLTST_OPTS: cintltst options |
121 | # -e: Exhaustive testing |
122 | # -v: Increased verbosity |
123 | emake -j1 check || die "emake check failed" |
124 | } |
125 | |
126 | src_install() { |
127 | emake DESTDIR="${D}" install || die "emake install failed" |
128 | |
129 | dohtml ../readme.html |
130 | dodoc ../unicode-license.txt |
131 | if use doc; then |
132 | insinto /usr/share/doc/${PF}/html/api |
133 | doins -r "${WORKDIR}/docs/"* || die "doins failed" |
134 | fi |
135 | } |