-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2520 from mariux64/update-libarchive-352
libarchive: update 3.3.3 to 2.5.2
- Loading branch information
Showing
1 changed file
with
25 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
#} |