proxychains-ng: create config file

This commit is contained in:
suvari
2022-06-22 16:18:43 +03:00
parent 51b21caf4e
commit b85a9afc2a
2 changed files with 11 additions and 4 deletions
+9 -3
View File
@@ -10,15 +10,21 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
#shelltools.makedirs("proxychains-ng-4.16")
autotools.configure("--prefix=/usr --sysconfdir=/etc")
shelltools.makedirs("proxychains-ng-4.16")
autotools.configure("./configure --prefix=/usr --sysconfdir=/etc")
def build():
#shelltools.makedirs("proxychains-ng-4.16")
shelltools.makedirs("proxychains-ng-4.16")
autotools.make()
def install():
shelltools.makedirs("proxychains-ng-4.16")
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
autotools.rawInstall("DESTDIR=%s install-config" % get.installDIR())
shelltools.system("ln -s /usr/bin/proxychains4 proxychains")
# Install config file
autotools.rawInstall("DESTDIR=%s install-config" % get.installDIR())
pisitools.dodoc("COPYING", "README")