Commit 67ffa41b authored by Natanael Copa's avatar Natanael Copa

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
parent f4fa28a3
......@@ -2,14 +2,14 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment