diff options
author | Marco A L Barbosa <malbarbo@gmail.com> | 2018-06-12 09:21:48 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-15 19:37:22 +0000 |
commit | b0a972ea6b49f25cc37c14b1acd10b64629c5841 (patch) | |
tree | 6493142e80d5daa1370389f8b0822cb84d6cc986 /main/icu | |
parent | 36a1b9b653eb45ae33735f906d3e7ff6e4d61365 (diff) | |
download | aports-b0a972ea6b49f25cc37c14b1acd10b64629c5841.tar.bz2 aports-b0a972ea6b49f25cc37c14b1acd10b64629c5841.tar.xz |
main/icu: build static lib
Diffstat (limited to 'main/icu')
-rw-r--r-- | main/icu/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/icu/APKBUILD b/main/icu/APKBUILD index ae81c32ef0..60aba72565 100644 --- a/main/icu/APKBUILD +++ b/main/icu/APKBUILD @@ -6,12 +6,12 @@ pkgver=60.2 # convert x.y.z to x_y_z _ver=${pkgver//./_} -pkgrel=1 +pkgrel=2 pkgdesc="International Components for Unicode library" url="http://www.icu-project.org/" arch="all" license="custom:icu" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" +subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-libs" depends= checkdepends="diffutils" makedepends= @@ -56,6 +56,7 @@ build() { --sysconfdir=/etc \ --with-data-packaging=library \ --disable-samples \ + --enable-static \ --mandir=/usr/share/man make } @@ -75,6 +76,12 @@ package() { "$pkgdir"/usr/share/licenses/icu/license.html } +static() { + pkgdesc="$pkgname static libraries" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/ +} + libs() { default_libs replaces="icu" |