Skip to content

libarchive: add version 3.2.1 #22

Merged
merged 2 commits into from
Jul 12, 2016
Merged
Changes from 1 commit
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
35 changes: 35 additions & 0 deletions libarchive-3.2.1-0.bee
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kannst Du bitte die URL dafür mit angeben.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#
# 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm ${S} CMakeLists.txt

}

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’d just use one command with absolute paths. Also, please use LIBDIR (see bee --print-config).

ln -s ${D}${LIBDIR}libarchive.so.13.2.1 ${D}${LIBDIR}libarchive.so.14

)
}