diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-25 15:29:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-25 15:29:46 +0000 |
commit | b98ec0b4268537a54d6da0f980a10737e11c0312 (patch) | |
tree | be95f9bb91f80535e6713ee1014dbffda0b01533 /main | |
parent | 365d17f18f07a03cbfe1ef87a420a576c73c52cf (diff) | |
download | aports-b98ec0b4268537a54d6da0f980a10737e11c0312.tar.bz2 aports-b98ec0b4268537a54d6da0f980a10737e11c0312.tar.xz |
main/pixman: build static library
fixes #8376
Diffstat (limited to 'main')
-rw-r--r-- | main/pixman/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/main/pixman/APKBUILD b/main/pixman/APKBUILD index c83d4819f0..03617cf5a2 100644 --- a/main/pixman/APKBUILD +++ b/main/pixman/APKBUILD @@ -1,12 +1,12 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pixman pkgver=0.34.0 -pkgrel=4 +pkgrel=5 pkgdesc="Low-level pixel manipulation library" url="http://xorg.freedesktop.org" arch="all" license="custom" -subpackages="$pkgname-dev $pkgname-dbg" +subpackages="$pkgname-static $pkgname-dev $pkgname-dbg" makedepends="perl linux-headers" source="http://www.x.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2 float-header-fix.patch @@ -21,7 +21,7 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --disable-static \ + --enable-static \ --disable-openmp \ --disable-arm-iwmmxt make @@ -36,6 +36,13 @@ package() { cd "$builddir" make DESTDIR="$pkgdir" install } + +static() { + pkgdesc="Static libraries for pixman" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/ +} + sha512sums="755a3f5596e7bd9710abc8e5bfd341adaf2177f5b21f7aaae7f85b8fb57580ea48df586ad32bf6adef6ce0430e7cadaa57754a2fa466bc4b15bf70ee64cd1418 pixman-0.34.0.tar.bz2 5064da221fe406e58169df0b07df7123ccf65487e654dba9e0903122480363c2b4e11ec0a14ac546658c747934509f2f66e3d0d078d6dd0ac92505c24b0e9ee9 float-header-fix.patch 3d75e7328e6eaaa6e8f4defa4402db815764369f94b81be38fba07933267fe24b03b591dd4c3f3544cb090650153728bfbdd81a91acaf19524c3d08f61427f63 stacksize-reduction.patch" |