Skip to content

libarchive: update 3.3.3 to 2.5.2 #2520

Merged
merged 1 commit into from
Nov 16, 2021
Merged
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
48 changes: 25 additions & 23 deletions libarchive.be0
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
#!/usr/bin/env beesh

# BEE_VERSION libarchive-3.3.3-0
# BEE_VERSION libarchive-3.5.2-0

SRCURL[0]="https://www.libarchive.org/downloads/libarchive-${PKGVERSION}.tar.gz"
# SRCURL[0]="https://www.libarchive.org/downloads/libarchive-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/73b093ce0ac09bb73b1ab58f02e95db7/libarchive-3.5.2.tar.gz"

# Diese kloppskoepfe kuemmern sich einen dreck um so.versions
#
# libarchive-3.1.2 libarchive-3.2.1
#
# cmake build libarchive.so.14 libarchive.so.15
# autotool build libarchive.so.13.1.2 libarchive.so.13.2.1
#
# laut aussage der entwickler sind die 3er ABIs stabil
#
# also: libarchive mit ./configure und noch n symlink namens 'libarchive.so.14'
# PATCHURL+=()

# Hirn: {F}:download, {S}:source, {B}:build, {D}:image
# build_in_sourcedir

function mee_patch() {
( cd ${S}; rm -v CMakeLists.txt; sleep 3 ) # defeat cmake
}
# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

function mee_install() {
bee_install
(
echo "# creating 'libarchive.so.14' compatibility link"; sleep 3
cd ${D}/usr/lib || cd ${D}/dev/shm/junk/lib
ln -sv libarchive.so.13.2.1 libarchive.so.14
)
mee_patch() {
bee_patch "${@}"
rm -v CMakeLists.txt
}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}