From 8ef6a0d36ceaef2f1f5d16eb5bd102cbfc4b3f7b Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 15 Jan 2022 11:57:26 +0000 Subject: added libarchive --- repo/core/libarchive.xibuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 repo/core/libarchive.xibuild (limited to 'repo/core/libarchive.xibuild') diff --git a/repo/core/libarchive.xibuild b/repo/core/libarchive.xibuild new file mode 100644 index 0000000..de4ccbd --- /dev/null +++ b/repo/core/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.xz + +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 +} -- cgit v1.2.1