diff options
Diffstat (limited to 'system/icu/APKBUILD')
-rw-r--r-- | system/icu/APKBUILD | 12 |
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" |