# Description: software library for parsing XML documents # URL: https://github.com/GNOME/libxml2 # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: python icu doxygen name=libxml2 version=2.15.1 release=1 source=(https://download.gnome.org/sources/${name}/${version%.*}/${name}-${version}.tar.xz overflow.patch) build() { cd ${name}-${version} patch -Np1 -i ../overflow.patch ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib \ --libexecdir=/usr/lib/$name \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --with-icu \ --with-python make make DESTDIR=$PKG install }