Remove libxml2 dependency and disable rpath
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user