summaryrefslogtreecommitdiff
path: root/Ports/aria2/package.sh
diff options
context:
space:
mode:
authorEWouters <6179932+EWouters@users.noreply.github.com>2022-04-14 01:46:46 +0200
committerLinus Groh <mail@linusgroh.de>2022-08-14 18:24:30 +0100
commit1712b6b3eda1faeca7abefcadf2ab8578dc54a70 (patch)
tree06b56927d53255f5855dc9b656fa7b05c34d22d1 /Ports/aria2/package.sh
parentca0e32e59fcf67a662e5d3a994d44cd7c941624a (diff)
downloadserenity-1712b6b3eda1faeca7abefcadf2ab8578dc54a70.zip
Ports: Add port aria2 version 1.36.0
Diffstat (limited to 'Ports/aria2/package.sh')
-rwxr-xr-xPorts/aria2/package.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/Ports/aria2/package.sh b/Ports/aria2/package.sh
new file mode 100755
index 0000000000..0dad6f49a7
--- /dev/null
+++ b/Ports/aria2/package.sh
@@ -0,0 +1,19 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port='aria2'
+version='1.36.0'
+files="https://github.com/aria2/aria2/releases/download/release-${version}/aria2-${version}.tar.xz ${port}-${version}.tar.xz 58d1e7608c12404f0229a3d9a4953d0d00c18040504498b483305bcb3de907a5"
+auth_type='sha256'
+depends=(
+ "libssh2"
+ "libxml2"
+ "openssl"
+ "zlib"
+ "libuv"
+)
+useconfigure='true'
+use_fresh_config_sub='true'
+config_sub_paths+=("deps/wslay/config.sub")
+configopts+=(
+ "--with-libuv"
+ "--with-sysroot=${SERENITY_INSTALL_ROOT}"
+)