summaryrefslogtreecommitdiff
path: root/repo/torsocks
diff options
context:
space:
mode:
Diffstat (limited to 'repo/torsocks')
-rw-r--r--repo/torsocks/torsocks.xibuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/torsocks/torsocks.xibuild b/repo/torsocks/torsocks.xibuild
new file mode 100644
index 0000000..0a215e1
--- /dev/null
+++ b/repo/torsocks/torsocks.xibuild
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+NAME="torsocks"
+DESC="Wrapper to safely torify applications"
+
+MAKEDEPS=" autoconf automake libtool"
+
+PKG_VER=2.4.0
+SOURCE="https://gitlab.torproject.org/tpo/core/torsocks/-/archive/v$PKG_VER/torsocks-v$PKG_VER.tar.gz"
+
+build() {
+ ./autogen.sh
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+