aboutsummaryrefslogtreecommitdiffstats
path: root/extra/icu/APKBUILD
blob: 8bbacde8d9d5527355053029dd38ba0b0b3d7c7d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=icu
pkgver=4.2.0.1
_ver=4_2_0_1
pkgrel=0
pkgdesc="International Components for Unicode library"
url="http://www.icu-project.org/"
license="custom:icu"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends="uclibc++-dev"
source="http://download.icu-project.org/files/icu4c/${pkgver}/${pkgname}4c-$_ver-src.tgz"

build () 
{ 
	cd "$srcdir"/icu/source
	export CXX=g++-uc
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man
	make || return 1
	make -j1 DESTDIR="$pkgdir" install || return 1
	chmod +x "$pkgdir"/usr/bin/icu-config
	install -Dm644 "$srcdir"/icu/license.html \
		"$pkgdir"/usr/share/licenses/icu/license.html
}
md5sums="fd80d21ea863e47ee57b95d466752701  icu4c-4_2_0_1-src.tgz"