summaryrefslogtreecommitdiff
path: root/repo/torsocks/torsocks.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-10-28 03:30:59 +0100
committerdavidovski <david@davidovski.xyz>2022-10-28 03:30:59 +0100
commit9cc8533c28967439cf57e6d4d0cac95d53b5ac67 (patch)
treea875d35adb5e8101485733456071112256b44ff9 /repo/torsocks/torsocks.xibuild
parentf99268f797c120a24030a573ef22813cd018beb5 (diff)
added snes9x and torsocks
Diffstat (limited to 'repo/torsocks/torsocks.xibuild')
-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
+}
+