Skip to content

Commit

Permalink
Merge pull request #2520 from mariux64/update-libarchive-352
Browse files Browse the repository at this point in the history
libarchive: update 3.3.3 to 2.5.2
  • Loading branch information
wwwutz authored Nov 16, 2021
2 parents 4d6c005 + e3495e7 commit 7a30c5c
Showing 1 changed file with 25 additions and 23 deletions.
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
#}

0 comments on commit 7a30c5c

Please sign in to comment.