Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new cross: libarchive #6073

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions cross/libarchive/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
PKG_NAME = libarchive
PKG_VERS = 3.7.3

PKG_DIST_SITE = https://github.com/libarchive/$(PKG_NAME)/releases/download/v$(PKG_VERS)
PKG_EXT = tar.xz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

COMMENT = Multi-format archive and compression library
HOMEPAGE = https://www.libarchive.org/
LICENSE = 3-Clause BSD

# why does it still use only system autoconf?!?
#BUILD_DEPENDS = cross/autoconf

# why does this still crash building synocli-file with pixz?!?
#BUILD_DEPENDS = cross/iconv
# or
#BUILD_DEPENDS = cross/libiconv
# above does nothing, must disable iconv below

DEPENDS = cross/openssl3

GNU_CONFIGURE = 1
CONFIGURE_ARGS += --without-iconv

include ../../mk/spksrc.cross-cc.mk
3 changes: 3 additions & 0 deletions cross/libarchive/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
lib:lib/libarchive.so
lib:lib/libarchive.so.13
lib:lib/libarchive.so.13.7.3
3 changes: 3 additions & 0 deletions cross/libarchive/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
libarchive-3.7.3.tar.xz SHA1 67d722171cc3552ecd7fccd05934e8de4596c02b
libarchive-3.7.3.tar.xz SHA256 63e7a7174638fc7d6b79b4c8b0ad954e0f4f45abe7239c1ecb200232aa9a43d2
libarchive-3.7.3.tar.xz MD5 b60683739a16ff6f00f32aa3516402ed