Remove libxml2 dependency and disable rpath

This commit is contained in:
2025-11-02 09:34:41 +02:00
parent 7354141ea9
commit 2bd2b829ad
2 changed files with 3 additions and 3 deletions
+1 -2
View File
@@ -1,7 +1,7 @@
name: libarchive
description: Multi-format archive and compression library
version: 3.8.2
revision: 1
revision: 2
url: https://libarchive.org/
license: BSD
architecture: any
@@ -9,7 +9,6 @@ type: source
depends:
- acl
- bzip2
- libxml2
- lz4
- openssl
- xz-utils
+2 -1
View File
@@ -5,7 +5,7 @@
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
./configure --prefix=/usr --disable-static
./configure --prefix=/usr --disable-static --without-xml2 --disable-rpath
make
}
@@ -20,5 +20,6 @@ check() {
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libarchive/COPYING
}