diff options
author | davidovski <david@davidovski.xyz> | 2022-01-15 23:10:05 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-15 23:10:05 +0000 |
commit | 08058eeb3f1cf7f34ec23206cdf59b59a5befacf (patch) | |
tree | 9cac8a768ed6c03917699555fa06d327b33b06ea /repo/tip | |
parent | a412a9a21436fce984137f3d4d3db9877cbb1506 (diff) |
moved libarchive to tip for now
Diffstat (limited to 'repo/tip')
-rw-r--r-- | repo/tip/libarchive.xibuild | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/tip/libarchive.xibuild b/repo/tip/libarchive.xibuild new file mode 100644 index 0000000..80c60c4 --- /dev/null +++ b/repo/tip/libarchive.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +DEPS=(acl bzip2 expat lz4 openssl xz zlib zstd) + +SOURCE=https://github.com/libarchive/libarchive/releases/download/v3.5.2/libarchive-3.5.2.tar.gz + +DESC="A library that provides a single interface for reading and writing various compression formats" + +build () { + sed -i '436a if ((OSSL_PROVIDER_load(NULL, "legacy")) == NULL) \ + return (ARCHIVE_FAILED);' libarchive/archive_digest.c + + ./configure --prefix=/usr --disable-static + + make +} + +package() { + make DESTDIR=$PKG_DEST install +} |