mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
main/libxml2: add libxml2.a to -dev
This commit is contained in:
parent
de5c43a533
commit
dc015081c0
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user