ports: libxml

This commit is contained in:
Matheus
2024-10-01 18:37:38 -03:00
parent 84b6ec3061
commit e9b9242653
2 changed files with 24 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
name=libxml
revision=1
from_source=libxml
imagedeps="base-devel"
hostdeps="xgcc xbinutils pkgconfig libtool"
deps="base zlib"
build() {
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --without-python --disable-static --with-threads --disable-ipv6
make -j ${parallelism}
}
package() {
make install DESTDIR=${dest_dir}
}
+9
View File
@@ -0,0 +1,9 @@
name=libxml
version=2.10.0
source_method=tarball
tarball_url="https://gitlab.gnome.org/GNOME/libxml2/-/archive/v${version}/libxml2-v${version}.tar.gz"
tarball_sha512="eb0cef809e189eafb948c313bd82dd49a0871f0b664f5891dd891f46579c48a0929e1d2144f4286e0ac858463e6726e4a7d446678a006f0b299e1f83bb20e98b"
hostdeps="autoconf automake pkgconfig libtool"
regenerate() {
autoreconf -fvi
}