summaryrefslogtreecommitdiffstats
path: root/icu/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'icu/Pkgfile')
-rw-r--r--icu/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/icu/Pkgfile b/icu/Pkgfile
new file mode 100644
index 000000000..f39f81e79
--- /dev/null
+++ b/icu/Pkgfile
@@ -0,0 +1,24 @@
+# Description: International Components for Unicode for C
+# URL: http://www.icu-project.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=icu
+version=4.8.1
+release=1
+source=(http://download.$name-project.org/files/icu4c/$version/icu4c-${version//./_}-src.tgz
+ setBreakType.patch)
+
+build () {
+ cd $name/source
+ 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
+}
+