mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: libxml
This commit is contained in:
@@ -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}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user