mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
libxml2: update spkgbuild
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
libxml2-2.11.6-1
|
||||
libxml2-2.11.6-2
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/xml2-config
|
||||
@@ -62,6 +62,16 @@ lrwxrwxrwx root/root usr/lib/libxml2.so.2 -> libxml2.so.2.11.6
|
||||
-rwxr-xr-x root/root usr/lib/libxml2.so.2.11.6
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libxml-2.0.pc
|
||||
drwxr-xr-x root/root usr/lib/python3.11/
|
||||
drwxr-xr-x root/root usr/lib/python3.11/site-packages/
|
||||
drwxr-xr-x root/root usr/lib/python3.11/site-packages/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.11/site-packages/__pycache__/drv_libxml2.cpython-311.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.11/site-packages/__pycache__/drv_libxml2.cpython-311.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.11/site-packages/__pycache__/libxml2.cpython-311.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.11/site-packages/__pycache__/libxml2.cpython-311.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.11/site-packages/drv_libxml2.py
|
||||
-rw-r--r-- root/root usr/lib/python3.11/site-packages/libxml2.py
|
||||
-rwxr-xr-x root/root usr/lib/python3.11/site-packages/libxml2mod.so
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/aclocal/
|
||||
-rw-r--r-- root/root usr/share/aclocal/libxml.m4
|
||||
|
||||
4
main/libxml2/pre-install.sh
Normal file
4
main/libxml2/pre-install.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
# The port 'python3-libxml2' conflicts with 'libxml2', now build with Python
|
||||
scratch isinstalled python3-libxml2 && scratch remove -y python3-libxml2
|
||||
@@ -1,20 +1,24 @@
|
||||
# description : Contains libraries and utilities used for parsing XML files
|
||||
# depends : icu
|
||||
# homepage : https://github.com/GNOME/libxml2
|
||||
# depends : xz zlib
|
||||
|
||||
name=libxml2
|
||||
version=2.11.6
|
||||
release=1
|
||||
release=2
|
||||
source="https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz"
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--with-history \
|
||||
--with-icu \
|
||||
--without-python
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
--with-history \
|
||||
--with-python=/usr/bin/python3
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
|
||||
rm -r $PKG/usr/share/doc \
|
||||
$PKG/usr/share/gtk-doc
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user