summaryrefslogtreecommitdiff
path: root/repo/proxychains-ng/proxychains-ng.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/proxychains-ng/proxychains-ng.xibuild')
-rw-r--r--repo/proxychains-ng/proxychains-ng.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/proxychains-ng/proxychains-ng.xibuild b/repo/proxychains-ng/proxychains-ng.xibuild
new file mode 100644
index 0000000..92b953b
--- /dev/null
+++ b/repo/proxychains-ng/proxychains-ng.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="proxychains-ng"
+DESC="This tool provides proxy server support to any app."
+
+MAKEDEPS="musl"
+
+PKG_VER=4.16
+SOURCE="https://github.com/rofl0r/proxychains-ng/archive/v$PKG_VER.zip"
+
+build() {
+ cd "$BUILD_ROOT"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc/proxychains
+ make
+}
+
+package() {
+ cd "$BUILD_ROOT"
+ make DESTDIR="$PKG_DEST" install install-config
+ ln -s proxychains4 "$PKG_DEST"/usr/bin/proxychains
+}
+