aboutsummaryrefslogtreecommitdiff
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
parent0e56c816029f9670152fed4419ab836b4e610bb4 (diff)
downloadrepository-8750ae61e0dcd64bf6615e16f41af22e4647ea42.tar.gz
libarchive: add new package at 3.4.2 to extra
-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