diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-05-27 19:20:03 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-05-27 19:20:38 +0200 |
commit | dc015081c0d12a8cbcccac836c67d432e1f49ca3 (patch) | |
tree | 74c43227ea944ac23dc17a9639210b717ae70640 /main/libxml2/APKBUILD | |
parent | de5c43a53395219464d20656ae7a6547e4f75279 (diff) | |
download | aports-dc015081c0d12a8cbcccac836c67d432e1f49ca3.tar.bz2 aports-dc015081c0d12a8cbcccac836c67d432e1f49ca3.tar.xz |
main/libxml2: add libxml2.a to -dev
Diffstat (limited to 'main/libxml2/APKBUILD')
-rw-r--r-- | main/libxml2/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD index 25b9560e3a..210994e358 100644 --- a/main/libxml2/APKBUILD +++ b/main/libxml2/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=libxml2 pkgver=2.9.7 -pkgrel=0 +pkgrel=1 pkgdesc="XML parsing library, version 2" url="http://www.xmlsoft.org/" arch="all" @@ -42,7 +42,6 @@ libxml2_configure() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-static \ "$@" } @@ -65,8 +64,12 @@ check() { package() { cd "$builddir" + make -j1 DESTDIR="$pkgdir" install make -j1 -C "$builddir"-python2/python DESTDIR="$pkgdir" install + + # We don't need static lib for python bindings. + rm "$pkgdir"/usr/lib/python*/site-packages/*.a } dev() { |