aboutsummaryrefslogtreecommitdiffstats
path: root/main/icu/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-26 09:55:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-26 09:58:19 +0000
commit11aac09cde53a984d862974fb6c5d7fb3799a533 (patch)
tree6054075fe9d9918daec02cecb3258cda5a5c5ccf /main/icu/APKBUILD
parentd9afe7d466de8d2bf0f3547f10477dfb056974ed (diff)
downloadaports-11aac09cde53a984d862974fb6c5d7fb3799a533.tar.bz2
aports-11aac09cde53a984d862974fb6c5d7fb3799a533.tar.xz
main/icu: split -libs
Diffstat (limited to 'main/icu/APKBUILD')
-rw-r--r--main/icu/APKBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/main/icu/APKBUILD b/main/icu/APKBUILD
index d122fdbe95..ae75d3358f 100644
--- a/main/icu/APKBUILD
+++ b/main/icu/APKBUILD
@@ -5,12 +5,12 @@ pkgver=49.1.2
# convert x.y.z to x_y_z
_ver=${pkgver//./_}
-pkgrel=0
+pkgrel=1
pkgdesc="International Components for Unicode library"
url="http://www.icu-project.org/"
arch="all"
license="custom:icu"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
depends=
makedepends=
source="http://download.icu-project.org/files/icu4c/${pkgver}/${pkgname}4c-$_ver-src.tgz
@@ -42,7 +42,10 @@ build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
- --mandir=/usr/share/man
+ --with-data-packaging=library \
+ --disable-samples \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
@@ -53,5 +56,11 @@ package() {
install -Dm644 "$srcdir"/icu/license.html \
"$pkgdir"/usr/share/licenses/icu/license.html
}
+
+libs() {
+ default_libs
+ replaces="icu"
+}
+
md5sums="bbc609fe5237202d7abf016141012a45 icu4c-49_1_2-src.tgz
70aabd2c1e14477cfa261e729ffd7054 icu-timezone-uclibc.patch"