2010-08-02 04:30:39 +00:00
|
|
|
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
|
2009-10-10 02:23:22 +00:00
|
|
|
# Contributor: Art Gramlich <art@gramlich-net.com>
|
2010-08-02 04:30:39 +00:00
|
|
|
|
|
|
|
# Plugbox changes:
|
|
|
|
# - icu needs the patch to build on ARM
|
2009-10-10 02:23:22 +00:00
|
|
|
|
|
|
|
pkgname=icu
|
2010-08-02 04:30:39 +00:00
|
|
|
pkgver=4.4.1
|
2009-10-10 02:23:22 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="International Components for Unicode library"
|
2010-08-02 04:30:39 +00:00
|
|
|
arch=(i686 x86_64 arm)
|
2009-10-10 02:23:22 +00:00
|
|
|
url="http://www.icu-project.org/"
|
|
|
|
license=('custom:"icu"')
|
|
|
|
depends=('gcc-libs' 'sh')
|
2010-02-06 09:53:23 +00:00
|
|
|
source=(http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz
|
2010-08-02 04:30:39 +00:00
|
|
|
28107-icu-arm.patch)
|
|
|
|
md5sums=('b6bc0a1153540b2088f8b03e0ba625d3'
|
|
|
|
'930eec07e19c542d54e28d40a3c2e709')
|
2009-10-10 02:23:22 +00:00
|
|
|
|
|
|
|
build() {
|
2010-08-02 04:30:39 +00:00
|
|
|
cd ${srcdir}/icu/source
|
|
|
|
|
|
|
|
patch -Np1 -i $srcdir/28107-icu-arm.patch || return 1
|
2010-02-06 09:53:23 +00:00
|
|
|
|
2010-08-02 04:30:39 +00:00
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
|
|
|
|
make || return 1
|
|
|
|
make -j1 DESTDIR=${pkgdir} install || return 1
|
2009-10-10 02:23:22 +00:00
|
|
|
|
2010-08-02 04:30:39 +00:00
|
|
|
# Install license
|
|
|
|
install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
|
2009-10-10 02:23:22 +00:00
|
|
|
}
|