diff options
author | Marco A L Barbosa <malbarbo@gmail.com> | 2018-06-12 09:22:36 -0300 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-06-21 18:40:45 +0200 |
commit | 54f6029e04df3079fbd27f3631e793162618f326 (patch) | |
tree | 439f9a498670018d2ba4e5a3dde463d42db4ace8 /main/harfbuzz/APKBUILD | |
parent | 2ff08d71655583014b3b605d447e88756dbcc0c7 (diff) | |
download | aports-54f6029e04df3079fbd27f3631e793162618f326.tar.bz2 aports-54f6029e04df3079fbd27f3631e793162618f326.tar.xz |
main/harfbuzz: build static lib
Diffstat (limited to 'main/harfbuzz/APKBUILD')
-rw-r--r-- | main/harfbuzz/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/main/harfbuzz/APKBUILD b/main/harfbuzz/APKBUILD index 4de2165b7a..4773a4956b 100644 --- a/main/harfbuzz/APKBUILD +++ b/main/harfbuzz/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=harfbuzz pkgver=1.7.6 -pkgrel=0 +pkgrel=1 pkgdesc="Text shaping library" url="http://freedesktop.org/wiki/Software/HarfBuzz" arch="all" @@ -13,7 +13,7 @@ options="!check" makedepends="freetype-dev glib-dev gobject-introspection-dev cairo-dev icu-dev graphite2-dev" checkdepends="python3" -subpackages="$pkgname-dev $pkgname-icu" +subpackages="$pkgname-static $pkgname-dev $pkgname-icu" source="http://www.freedesktop.org/software/$pkgname/release/$pkgname-$pkgver.tar.bz2" builddir="$srcdir/$pkgname-$pkgver" @@ -27,7 +27,7 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ - --disable-static \ + --enable-static \ --with-glib \ --with-gobject \ --with-graphite2 \ @@ -46,6 +46,13 @@ package() { make DESTDIR="$pkgdir" install } +static() { + pkgdesc="$pkgdesc (static libraries)" + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/ +} + dev() { default_dev mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ |