summaryrefslogtreecommitdiffstats
path: root/package/proxychains-ng/proxychains-ng.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/proxychains-ng/proxychains-ng.mk')
-rw-r--r--package/proxychains-ng/proxychains-ng.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/proxychains-ng/proxychains-ng.mk b/package/proxychains-ng/proxychains-ng.mk
index 9cf24bf5d..c38a7dbde 100644
--- a/package/proxychains-ng/proxychains-ng.mk
+++ b/package/proxychains-ng/proxychains-ng.mk
@@ -7,4 +7,11 @@ PROXYCHAINS_NG_VERSION = 4.4
PROXYCHAINS_NG_SOURCE = proxychains-$(PROXYCHAINS_NG_VERSION).tar.bz2
PROXYCHAINS_NG_SITE = http://downloads.sourceforge.net/project/proxychains-ng
+define PROXYCHAINS_NG_POST_INSTALL_TARGET
+ $(INSTALL) -m 644 -D $(@D)/src/proxychains.conf \
+ $(TARGET_DIR)/etc/proxychains.conf
+endef
+
+PROXYCHAINS_NG_POST_INSTALL_TARGET_HOOKS += PROXYCHAINS_NG_POST_INSTALL_TARGET
+
$(eval $(autotools-package))