diff options
author | davidovski <david@davidovski.xyz> | 2022-01-15 11:57:26 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-15 11:57:26 +0000 |
commit | 8ef6a0d36ceaef2f1f5d16eb5bd102cbfc4b3f7b (patch) | |
tree | 026f8a0458b5bcdb0fdd9d598a632f74a26a5cb7 /repo | |
parent | ca5824252f5675423c3b589b6bd86996977c1533 (diff) |
added libarchive
Diffstat (limited to 'repo')
-rw-r--r-- | repo/core/icecream.xibuild | 2 | ||||
-rw-r--r-- | repo/core/libarchive.xibuild | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/repo/core/icecream.xibuild b/repo/core/icecream.xibuild index ceabc6b..19beab4 100644 --- a/repo/core/icecream.xibuild +++ b/repo/core/icecream.xibuild @@ -1,6 +1,6 @@ #!/bin/bash -DEPS=(gcc python libcap-ng lzo) +DEPS=(gcc python libcap-ng lzo libarchive) SOURCE=https://github.com/icecc/icecream/releases/download/1.3.1/icecc-1.3.1.tar.xz 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 +} |