aboutsummaryrefslogtreecommitdiff
path: root/extra/libarchive
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libarchive')
-rwxr-xr-xextra/libarchive/build15
-rw-r--r--extra/libarchive/checksums1
-rw-r--r--extra/libarchive/depends3
-rw-r--r--extra/libarchive/sources1
-rw-r--r--extra/libarchive/version1
5 files changed, 21 insertions, 0 deletions
diff --git a/extra/libarchive/build b/extra/libarchive/build
new file mode 100755
index 00000000..6e30984c
--- /dev/null
+++ b/extra/libarchive/build
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --without-nettle \
+ --without-openssl \
+ --without-xml2 \
+ --without-expat
+
+make
+make DESTDIR="$1" install
+
+ln -s bsdcat "$1/usr/bin/cat"
+ln -s bsdcpio "$1/usr/bin/cpio"
+ln -s bsdtar "$1/usr/bin/tar"
diff --git a/extra/libarchive/checksums b/extra/libarchive/checksums
new file mode 100644
index 00000000..d0dd0731
--- /dev/null
+++ b/extra/libarchive/checksums
@@ -0,0 +1 @@
+d8e10494b4d3a15ae9d67a130d3ab869200cfd60b2ab533b391b0a0d5500ada1 libarchive-3.4.2.tar.xz
diff --git a/extra/libarchive/depends b/extra/libarchive/depends
new file mode 100644
index 00000000..e57c8945
--- /dev/null
+++ b/extra/libarchive/depends
@@ -0,0 +1,3 @@
+bzip2
+xz
+zlib
diff --git a/extra/libarchive/sources b/extra/libarchive/sources
new file mode 100644
index 00000000..b5737d96
--- /dev/null
+++ b/extra/libarchive/sources
@@ -0,0 +1 @@
+https://github.com/libarchive/libarchive/releases/download/v3.4.2/libarchive-3.4.2.tar.xz
diff --git a/extra/libarchive/version b/extra/libarchive/version
new file mode 100644
index 00000000..5a960a2e
--- /dev/null
+++ b/extra/libarchive/version
@@ -0,0 +1 @@
+3.4.2 1