summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorStefan Fröberg <stefan.froberg@petroprogram.com>2013-01-15 18:10:15 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-16 13:24:54 +0100
commit10e058b0ee7fd8135fef35bcf24ae985707078c2 (patch)
treefd138868dadcb1fb58e20b279a622ff476ccce56 /package
parent7d93f102e181b23359f0763ffa7f2b467ca98ec8 (diff)
downloadbuildroot-novena-10e058b0ee7fd8135fef35bcf24ae985707078c2.tar.gz
buildroot-novena-10e058b0ee7fd8135fef35bcf24ae985707078c2.zip
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>
Diffstat (limited to 'package')
-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))