aboutsummaryrefslogtreecommitdiff
path: root/extra/libarchive/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libarchive/build')
-rwxr-xr-xextra/libarchive/build15
1 files changed, 15 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"