aboutsummaryrefslogtreecommitdiff
path: root/extra/libarchive/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-01 12:40:32 +0300
committerCem Keylan <cem@ckyln.com>2020-05-01 12:40:32 +0300
commit8750ae61e0dcd64bf6615e16f41af22e4647ea42 (patch)
tree0745748c2e60931ca99e82e484d8ec20518c0469 /extra/libarchive/build
parent0e56c816029f9670152fed4419ab836b4e610bb4 (diff)
downloadrepository-8750ae61e0dcd64bf6615e16f41af22e4647ea42.tar.gz
libarchive: add new package at 3.4.2 to extra
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"