summaryrefslogtreecommitdiffstats
path: root/icu/Pkgfile
blob: b1b984012e8ab14f3b1104ed5dfb41b39633b730 (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
# 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
	icu4c-3_8-setBreakType.patch)


build () {
	cd $name/source
	patch -p2 < $SRC/icu4c-3_8-setBreakType.patch
	./configure --prefix=/usr \
		--with-library-bits=64else32 \
		--with-data-packaging=library \
		--disable-samples
	make
	make prefix=$PKG/usr install
	chown -R root:root $PKG
}