Skip to content

Commit

Permalink
Merge pull request #22 from mariux64/add-libarchive-3.2.1
Browse files Browse the repository at this point in the history
libarchive: add version 3.2.1
  • Loading branch information
donald committed Jul 12, 2016
2 parents 6833bc2 + e2d9ee6 commit aa4329e
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
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
#
# 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
)
}
3 changes: 3 additions & 0 deletions libarchive-3.2.1-1.bee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env beesh
BEE_BUILDTYPE="autotools"
SRCURL[0]="http://www.libarchive.org/downloads/libarchive-${PKGVERSION}.tar.gz"

0 comments on commit aa4329e

Please sign in to comment.