live-bootstrap/sysc/libarchive-3.5.2/libarchive-3.5.2.sh
fosslinux 8008de8e73 Add file downloading logic
Add urls to sysc, and modify some tarballs to http (non s) before ssl
2022-06-10 13:30:58 +10:00

24 lines
456 B
Bash
Executable file

# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
urls="http://libarchive.org/downloads/libarchive-3.5.2.tar.xz"
src_prepare() {
default
autoreconf -fi
}
src_configure() {
./configure --prefix="${PREFIX}" --libdir="${PREFIX}/lib/musl" \
--disable-shared
}
src_compile() {
make MAKEINFO=true
}
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}