diff options
Diffstat (limited to 'homebrew/aria2')
-rw-r--r-- | homebrew/aria2/.beer | 40 | ||||
-rw-r--r-- | homebrew/aria2/.make.sh-auto | 7 | ||||
-rw-r--r-- | homebrew/aria2/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/aria2/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/aria2/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/aria2/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/aria2/download.sh | 1 |
7 files changed, 52 insertions, 0 deletions
diff --git a/homebrew/aria2/.beer b/homebrew/aria2/.beer new file mode 100644 index 000000000..fbeafafcc --- /dev/null +++ b/homebrew/aria2/.beer @@ -0,0 +1,40 @@ +{ + "name": "Aria2", + "description": "Download with resuming and segmented downloading", + "url": "https://github.com/aria2/aria2/releases/download/release-1.34.0/aria2-1.34.0.tar.xz", + "mirror": null, + "homepage": "https://aria2.github.io/", + "depends": [ + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "libssh2", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "inreplace \"src/bignum.h\", \"make_unique\", \"std::make_unique\"", + "inreplace \"configure\", \"-std=c++11\", \"-std=c++14\"", + "args = %W[", + "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--with-appletls", + "--with-libssh2", + "--without-openssl", + "--without-gnutls", + "--without-libgmp", + "--without-libnettle", + "--without-libgcrypt", + "]", + "system \"./configure\", *args", + "system \"make\", \"install\"", + "bash_completion.install \"doc/bash_completion/aria2c\"" + ], + "version": "1.34.0", + "file": "aria2.rb" +}
\ No newline at end of file diff --git a/homebrew/aria2/.make.sh-auto b/homebrew/aria2/.make.sh-auto new file mode 100644 index 000000000..a2b9a8ce6 --- /dev/null +++ b/homebrew/aria2/.make.sh-auto @@ -0,0 +1,7 @@ +pkg:setup +inreplace "src/bignum.h", "make_unique", "std::make_unique" +inreplace "configure", "-std=c++11", "-std=c++14" +args = %W[--disable-dependency-tracking --prefix=#{prefix} --with-appletls --with-libssh2 --without-openssl --without-gnutls --without-libgmp --without-libnettle --without-libgcrypt ] +pkg:configure *args +make DESTDIR=${PKG_DEST} install +bash_completion.install "doc/bash_completion/aria2c" diff --git a/homebrew/aria2/_metadata/description b/homebrew/aria2/_metadata/description new file mode 100644 index 000000000..c556bc7fa --- /dev/null +++ b/homebrew/aria2/_metadata/description @@ -0,0 +1 @@ +Download with resuming and segmented downloading diff --git a/homebrew/aria2/_metadata/homepage b/homebrew/aria2/_metadata/homepage new file mode 100644 index 000000000..e907a7ce4 --- /dev/null +++ b/homebrew/aria2/_metadata/homepage @@ -0,0 +1 @@ +https://aria2.github.io/ diff --git a/homebrew/aria2/_metadata/name b/homebrew/aria2/_metadata/name new file mode 100644 index 000000000..e3214f68a --- /dev/null +++ b/homebrew/aria2/_metadata/name @@ -0,0 +1 @@ +Aria2 diff --git a/homebrew/aria2/_metadata/version b/homebrew/aria2/_metadata/version new file mode 100644 index 000000000..2b17ffd50 --- /dev/null +++ b/homebrew/aria2/_metadata/version @@ -0,0 +1 @@ +1.34.0 diff --git a/homebrew/aria2/download.sh b/homebrew/aria2/download.sh new file mode 100755 index 000000000..e8cc953d9 --- /dev/null +++ b/homebrew/aria2/download.sh @@ -0,0 +1 @@ +wget https://github.com/aria2/aria2/releases/download/release-1.34.0/aria2-1.34.0.tar.xz
\ No newline at end of file |