Contents of /trunk/core/icu/icu-50.1-r2.smage2
Parent Directory | Revision Log
Revision 14094 -
(show annotations)
(download)
Thu Nov 22 11:11:47 2012 UTC (11 years, 10 months ago) by niro
File size: 811 byte(s)
Thu Nov 22 11:11:47 2012 UTC (11 years, 10 months ago) by niro
File size: 811 byte(s)
-fixed patching
1 | # $Id$ |
2 | |
3 | PNAME="icu" |
4 | PVER="50.1" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="dev-libs" |
8 | |
9 | DESCRIPTION="International Components for Unicode library." |
10 | HOMEPAGE="http://site.icu-project.org/" |
11 | |
12 | DEPEND=">= sys-libs/libstdc++-4.7" |
13 | SDEPEND=">= dev-util/pkgconfig-0.25" |
14 | |
15 | SRCFILE="${PNAME}4c-${PVER//./_}-src.tgz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}/source" |
17 | |
18 | sminclude multilib |
19 | |
20 | SRC_URI=( |
21 | http://download.icu-project.org/files/${PNAME}4c/${PVER}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/icu.8198.revert.icu5431.patch |
24 | mirror://${PNAME}/changeset_32780.patch |
25 | ) |
26 | |
27 | UP2DATE="updatecmd http://site.icu-project.org/download | grep ']ICU.*]' | sed 's:.*ICU.*]\(.*\)\ .*].*:\1:;q'" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | |
33 | # fix malaysian encoding |
34 | mpatch -RNp3 icu.8198.revert.icu5431.patch || die |
35 | mpatch changeset_32780.patch || die |
36 | } |