blob: 0a215e17397d264a4b17fa61748edae4d3d54355 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}
|