From b028d32b6c5b556f63c6d9532139f0b123c9f8fc Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 6 Apr 2010 13:55:05 +0000 Subject: main/icu: upgrade to 4.4 --- main/icu/APKBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'main/icu/APKBUILD') diff --git a/main/icu/APKBUILD b/main/icu/APKBUILD index c2150b3ec8..f37e766468 100644 --- a/main/icu/APKBUILD +++ b/main/icu/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa pkgname=icu -pkgver=4.2.1 +pkgver=4.4 _ver=4_2_1 pkgrel=0 pkgdesc="International Components for Unicode library" @@ -11,14 +11,19 @@ depends="" makedepends="uclibc++-dev" source="http://download.icu-project.org/files/icu4c/${pkgver}/${pkgname}4c-$_ver-src.tgz" -build () -{ - cd "$srcdir"/icu/source +_builddir="$srcdir"/icu/source + +build() { + cd "$_builddir" export CXX=g++-uc ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man make || return 1 +} + +package() { + cd "$_builddir" make -j1 DESTDIR="$pkgdir" install || return 1 chmod +x "$pkgdir"/usr/bin/icu-config install -Dm644 "$srcdir"/icu/license.html \ -- cgit v1.2.3