summaryrefslogtreecommitdiffstats
path: root/base/icu/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/icu/Pkgfile')
-rw-r--r--base/icu/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/base/icu/Pkgfile b/base/icu/Pkgfile
new file mode 100644
index 000000000..6abb7604e
--- /dev/null
+++ b/base/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
+
+name=icu
+version=4.6
+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
+}
+