summaryrefslogtreecommitdiff
path: root/system/icu
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-03 04:55:01 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-03 04:55:01 -0500
commit0888da196e7975e1d9d2146c11eaf312c8fd5795 (patch)
treea3e81ff0b0f1ca2115b2a3caf23ae0b3f600924c /system/icu
parent76033d6ea82669a441290a19804b54e3892388a7 (diff)
downloadpackages-0888da196e7975e1d9d2146c11eaf312c8fd5795.tar.gz
packages-0888da196e7975e1d9d2146c11eaf312c8fd5795.tar.bz2
packages-0888da196e7975e1d9d2146c11eaf312c8fd5795.tar.xz
packages-0888da196e7975e1d9d2146c11eaf312c8fd5795.zip
system/icu: build -static for qemu
Diffstat (limited to 'system/icu')
-rw-r--r--system/icu/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/system/icu/APKBUILD b/system/icu/APKBUILD
index c1f3f1bf3..19ade3e18 100644
--- a/system/icu/APKBUILD
+++ b/system/icu/APKBUILD
@@ -6,12 +6,12 @@ pkgver=62.1
# convert x.y.z to x_y_z
_ver=${pkgver//./_}
-pkgrel=2
+pkgrel=3
pkgdesc="International Components for Unicode library"
url="http://www.icu-project.org/"
arch="all"
license="ICU"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-libs"
depends=
checkdepends="diffutils"
makedepends=
@@ -55,6 +55,8 @@ build() {
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
+ --enable-shared \
+ --enable-static \
--with-data-packaging=library \
--disable-samples \
--mandir=/usr/share/man
@@ -81,5 +83,11 @@ libs() {
replaces="icu"
}
+static() {
+ pkgdesc="$pkgdesc (Static libraries)"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
+}
+
sha512sums="8295f2754fb6907e2cc8f515dccca05530963b544e89a2b8e323cd0ddfdbbe0c9eba8b367c1dbc04d7bb906b66b1003fd545ca05298939747c832c9d4431cf2a icu4c-62_1-src.tgz
f86c62422f38f6485c58d4766e629bab69e4b0e00fa910854e40e7db1ace299152eaefa99ae2fbab7465e65d3156cbea7124612defa60680db58ab5c34d6262f icu-60.2-always-use-utf8.patch"