-
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.
- This release fixes several critical bugs, including some with security implications. - Changed to autotool build, provides symlink for compatibility with cmake builds.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# Mon Jun 27 -- kreitler | ||
|
||
BEE_MAKEFLAGS=${BEE_MAKEFLAGS:-' -j12 '} | ||
|
||
[ $UID != 0 ] && PREFIX=/dev/shm/junk | ||
|
||
SRCURL[0]="http://www.libarchive.org/downloads/libarchive-${PKGVERSION}.tar.gz" | ||
|
||
# Diese kloppskoepfe kuemmern sich einen dreck um so.versionsn | ||
# | ||
# 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' | ||
|
||
# Hirn: {F}:download, {S}:source, {B}:build, {D}:image | ||
|
||
function mee_patch() { | ||
( cd ${S}; rm -v CMakeLists.txt; sleep 3 ) # defeat cmake | ||
} | ||
|
||
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 | ||
) | ||
} |