Files
ports/main/python3-libxml2/spkgbuild
2023-04-14 12:49:27 +00:00

17 lines
467 B
Plaintext

# description : Python bindings for the XML library version 2
# homepage : http://xmlsoft.org/
# depends : python3-setuptools libxml2
name=python3-libxml2
version=2.10.4
release=1
source="$name-$version.tar.gz::https://download.gnome.org/sources/libxml2/2.10/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
}