From 67ffa41bb78171225059785658bdcea03def9900 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 25 Aug 2015 08:45:14 +0200 Subject: main/libxml2: clean up and improve deps for -dev - the -dev package does not need python -dev so remove that. - dont build static libc - move a shell script to -dev package fixes #4553 --- main/libxml2/APKBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'main/libxml2/APKBUILD') diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD index 4a0ccb49cc..5a5d08f50a 100644 --- a/main/libxml2/APKBUILD +++ b/main/libxml2/APKBUILD @@ -2,14 +2,14 @@ # Maintainer: Carlo Landmeter pkgname=libxml2 pkgver=2.9.2 -pkgrel=1 +pkgrel=2 pkgdesc="XML parsing library, version 2" url="http://www.xmlsoft.org/" arch="all" license="MIT" depends= -depends_dev="zlib-dev python-dev" -makedepends="zlib-dev python-dev" +depends_dev="zlib-dev" +makedepends="$depends_dev python-dev" subpackages="$pkgname-doc $pkgname-dev py-$pkgname:py $pkgname-utils" source="ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz libxml2-pthread.patch @@ -37,6 +37,7 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ + --disable-static \ || return 1 make } @@ -51,6 +52,11 @@ package() { install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } +dev() { + default_dev + mv "$pkgdir"/usr/lib/*.sh "$subpkgdir"/usr/lib/ +} + py() { cd "$_builddir" pkgdesc="$pkgname python bindings" @@ -65,6 +71,7 @@ utils() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } + md5sums="9e6a9aca9d155737868b3dc5fd82f788 libxml2-2.9.2.tar.gz cc0da520c5296e87407d24166480da73 libxml2-pthread.patch e6f432aea642badcb848e5791bcf6df7 CVE-2014-0191.patch" -- cgit v1.2.3