summaryrefslogtreecommitdiff
path: root/homebrew/libarchive
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libarchive')
-rw-r--r--homebrew/libarchive/.beer32
-rw-r--r--homebrew/libarchive/.make.sh-auto11
-rw-r--r--homebrew/libarchive/_metadata/description1
-rw-r--r--homebrew/libarchive/_metadata/homepage1
-rw-r--r--homebrew/libarchive/_metadata/name1
-rw-r--r--homebrew/libarchive/_metadata/version1
-rwxr-xr-xhomebrew/libarchive/download.sh1
7 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/libarchive/.beer b/homebrew/libarchive/.beer
new file mode 100644
index 000000000..49405af1c
--- /dev/null
+++ b/homebrew/libarchive/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Libarchive",
+ "description": "Multi-format archive and compression library",
+ "url": "https://www.libarchive.org/downloads/libarchive-3.3.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.libarchive.org",
+ "depends": [
+ {
+ "depend": "xz",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--without-lzo2\", ",
+ "\"--without-nettle\", ",
+ "\"--without-xml2\", ",
+ "\"--without-openssl\", ",
+ "\"--with-expat\" ",
+ "system \"make\", \"install\"",
+ "ln_s bin/\"bsdtar\", bin/\"tar\"",
+ "ln_s bin/\"bsdcpio\", bin/\"cpio\"",
+ "ln_s man1/\"bsdtar.1\", man1/\"tar.1\"",
+ "ln_s man1/\"bsdcpio.1\", man1/\"cpio.1\""
+ ],
+ "version": "3.3.3",
+ "file": "libarchive.rb"
+} \ No newline at end of file
diff --git a/homebrew/libarchive/.make.sh-auto b/homebrew/libarchive/.make.sh-auto
new file mode 100644
index 000000000..fc3ce5f9a
--- /dev/null
+++ b/homebrew/libarchive/.make.sh-auto
@@ -0,0 +1,11 @@
+pkg:setup
+pkg:configure --without-lzo2
+"--without-nettle",
+"--without-xml2",
+"--without-openssl",
+"--with-expat"
+make DESTDIR=${PKG_DEST} install
+ln_s bin/"bsdtar", bin/"tar"
+ln_s bin/"bsdcpio", bin/"cpio"
+ln_s man1/"bsdtar.1", man1/"tar.1"
+ln_s man1/"bsdcpio.1", man1/"cpio.1"
diff --git a/homebrew/libarchive/_metadata/description b/homebrew/libarchive/_metadata/description
new file mode 100644
index 000000000..ce85e8cc1
--- /dev/null
+++ b/homebrew/libarchive/_metadata/description
@@ -0,0 +1 @@
+Multi-format archive and compression library
diff --git a/homebrew/libarchive/_metadata/homepage b/homebrew/libarchive/_metadata/homepage
new file mode 100644
index 000000000..cc1c4a2b3
--- /dev/null
+++ b/homebrew/libarchive/_metadata/homepage
@@ -0,0 +1 @@
+https://www.libarchive.org
diff --git a/homebrew/libarchive/_metadata/name b/homebrew/libarchive/_metadata/name
new file mode 100644
index 000000000..636b72fc4
--- /dev/null
+++ b/homebrew/libarchive/_metadata/name
@@ -0,0 +1 @@
+Libarchive
diff --git a/homebrew/libarchive/_metadata/version b/homebrew/libarchive/_metadata/version
new file mode 100644
index 000000000..619b53766
--- /dev/null
+++ b/homebrew/libarchive/_metadata/version
@@ -0,0 +1 @@
+3.3.3
diff --git a/homebrew/libarchive/download.sh b/homebrew/libarchive/download.sh
new file mode 100755
index 000000000..1e6af334a
--- /dev/null
+++ b/homebrew/libarchive/download.sh
@@ -0,0 +1 @@
+wget https://www.libarchive.org/downloads/libarchive-3.3.3.tar.gz \ No newline at end of file