summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Fröberg <stefan.froberg@petroprogram.com>2013-01-15 18:10:15 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-01-16 12:24:54 (GMT)
commit10e058b0ee7fd8135fef35bcf24ae985707078c2 (patch)
treefd138868dadcb1fb58e20b279a622ff476ccce56
parent7d93f102e181b23359f0763ffa7f2b467ca98ec8 (diff)
downloadbuildroot-10e058b0ee7fd8135fef35bcf24ae985707078c2.tar.gz
buildroot-10e058b0ee7fd8135fef35bcf24ae985707078c2.tar.bz2
proxychains-ng: copy proxychains.conf to target dir
proxychains installation does not copy proxychains.conf to $(TARGET_DIR)/etc anymore so we have to do it manually now. Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 9cf24bf..c38a7db 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))