summaryrefslogtreecommitdiffstats
path: root/extra/icu/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/icu/Pkgfile')
-rw-r--r--extra/icu/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/icu/Pkgfile b/extra/icu/Pkgfile
new file mode 100644
index 000000000..a393fc8c6
--- /dev/null
+++ b/extra/icu/Pkgfile
@@ -0,0 +1,26 @@
+# Description: International Components for Unicode for C
+# URL: http://www.icu-project.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=icu
+version=4.2
+release=1
+source=(http://download.$name-project.org/files/icu4c/$version/icu4c-${version//./_}-src.tgz)
+
+
+build () {
+ cd $name/source
+ chmod +x runConfigureICU configure install-sh
+
+ ./runConfigureICU LinuxRedHat --prefix=/usr \
+ --enable-shared \
+ --disable-samples \
+ --disable-tests \
+ --enable-rpath
+ make
+ make prefix=$PKG/usr install
+
+ chown -R root:root $PKG
+}