Initial commit
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
[build]
|
||||
type = "cmake"
|
||||
|
||||
[alternatives]
|
||||
provides = [ "unzip" ]
|
||||
|
||||
[build.flags]
|
||||
configure = [ "-DBUILD_SHARED_LIBS=ON", "-G Ninja" ]
|
||||
post_install = ["ln -sfv bsdunzip $DESTDIR/usr/bin/unzip || true"]
|
||||
build_32 = true
|
||||
configure-lib32 = ["-DBUILD_SHARED_LIBS=ON", "-DENABLE_TEST=OFF", "-DENABLE_TAR=OFF", "-DENABLE_CPIO=OFF", "-DENABLE_CAT=OFF", "-DENABLE_UNZIP=OFF", "-G Ninja"]
|
||||
|
||||
[dependencies]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"acl",
|
||||
"bzip2",
|
||||
"openssl",
|
||||
"libxml215",
|
||||
"lz4",
|
||||
"xz",
|
||||
"zlib-ng",
|
||||
"zstd",
|
||||
]
|
||||
build = [ "cmake", "ninja" ]
|
||||
|
||||
[dependencies.lib32]
|
||||
runtime = [
|
||||
"lib32-glibc",
|
||||
"lib32-acl",
|
||||
"lib32-bzip2",
|
||||
"lib32-openssl",
|
||||
"lib32-libxml215",
|
||||
"lib32-lz4",
|
||||
"lib32-xz",
|
||||
"lib32-zlib-ng",
|
||||
"lib32-zstd",
|
||||
]
|
||||
build = [ "cmake", "ninja" ]
|
||||
|
||||
[package]
|
||||
description = "Multi-format archive and compression library"
|
||||
homepage = "http://www.libarchive.org/"
|
||||
license = [
|
||||
"BSD-3-Clause",
|
||||
"BSD-2-Clause",
|
||||
]
|
||||
name = "libarchive"
|
||||
version = "3.8.6"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "sha256:8ac57c1f5e99550948d1fe755c806d26026e71827da228f36bef24527e372e6f"
|
||||
url = "https://github.com/libarchive/libarchive/releases/download/v$version/libarchive-$version.tar.xz"
|
||||
Reference in New Issue
Block a user