summaryrefslogtreecommitdiffstats
path: root/extra/icu/Pkgfile
blob: 28021675723b0e044fc08774bc8e96ca166a7e05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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: 
# Run on:

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
}