# Description: Python bindings for the XML library version 2 # URL: http://xmlsoft.org/ # Maintainer: Juergen Daubert, jue at crux dot nu # Depends on: python libxml2 name=libxml2-python version=2.9.4 release=1 source=(ftp://xmlsoft.org/libxml2/libxml2-$version.tar.gz \ $name-config.patch) build () { cd libxml2-$version patch -p1 -i $SRC/$name-config.patch ./configure --prefix=/usr cd python make make DESTDIR=$PKG install python -m compileall $PKG/usr/lib/python2.7/ rm $PKG/usr/lib/python2.7/site-packages/libxml2mod.{a,la} rm -r $PKG/usr/share }