2020-07-18 13:44:51 +02:00
|
|
|
# Description: Python bindings for the XML library version 2
|
2021-05-14 13:30:30 +02:00
|
|
|
# URL: http://xmlsoft.org/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: python3-setuptools libxml2
|
2020-07-18 13:44:51 +02:00
|
|
|
|
|
|
|
name=python3-libxml2
|
2023-04-12 11:50:22 +02:00
|
|
|
version=2.10.4
|
2022-10-19 10:03:43 +02:00
|
|
|
release=1
|
2022-08-22 16:59:17 +02:00
|
|
|
source=(https://download.gnome.org/sources/libxml2/${version:0:4}/libxml2-$version.tar.xz)
|
2020-07-18 13:44:51 +02:00
|
|
|
|
2021-05-14 13:30:30 +02:00
|
|
|
build() {
|
2022-08-31 10:39:18 +02:00
|
|
|
cd libxml2-$version
|
2022-09-02 10:06:42 +02:00
|
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
2022-08-31 10:39:18 +02:00
|
|
|
cd python
|
2021-05-14 13:30:30 +02:00
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --root=$PKG
|
2020-07-18 13:44:51 +02:00
|
|
|
}
|