summaryrefslogtreecommitdiffstats
path: root/extra/icu/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/icu/Pkgfile')
-rw-r--r--extra/icu/Pkgfile24
1 files changed, 11 insertions, 13 deletions
diff --git a/extra/icu/Pkgfile b/extra/icu/Pkgfile
index 6abb7604e..f39f81e79 100644
--- a/extra/icu/Pkgfile
+++ b/extra/icu/Pkgfile
@@ -4,23 +4,21 @@
# Packager: thierryn1 at hispeed dot ch
name=icu
-version=4.6
+version=4.8.1
release=1
-source=(http://download.$name-project.org/files/icu4c/$version/icu4c-${version//./_}-src.tgz)
-
+source=(http://download.$name-project.org/files/icu4c/$version/icu4c-${version//./_}-src.tgz
+ setBreakType.patch)
build () {
cd $name/source
- chmod +x runConfigureICU configure install-sh
-
- ./runConfigureICU LinuxRedHat --prefix=/usr \
- --enable-shared \
- --disable-samples \
- --disable-tests \
- --enable-rpath
- make
+ patch -p2 < $SRC/setBreakType.patch
+ ./configure --prefix=/usr \
+ --enable-shared \
+ --enable-static \
+ --with-library-bits=64else32 \
+ --with-data-packaging=library
+ make
make prefix=$PKG/usr install
-
- chown -R root:root $PKG
+ chown -R root:root $PKG
}