Files
ports/main/python3-libxml2/spkgbuild
2023-05-19 13:51:52 +00:00

17 lines
477 B
Plaintext

# description : Python bindings for the XML library version 2
# homepage : http://xmlsoft.org/
# depends : python3-setuptools libxml2
name=python3-libxml2
version=2.11.4
release=1
source="$name-$version.tar.gz::https://download.gnome.org/sources/libxml2/${version%.*}/libxml2-$version.tar.xz"
build() {
cd libxml2-$version
./configure --prefix=/usr --sysconfdir=/etc
cd python
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG
}