summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/wget/Makefile3
-rw-r--r--package/wget/files/wget.conffiles1
2 files changed, 3 insertions, 1 deletions
diff --git a/package/wget/Makefile b/package/wget/Makefile
index 6629e12b3..e2ff151f4 100644
--- a/package/wget/Makefile
+++ b/package/wget/Makefile
@@ -17,7 +17,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WGET,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
post-install:
- ${INSTALL_DIR} ${IDIR_WGET}/usr/bin
+ ${INSTALL_DIR} ${IDIR_WGET}/etc ${IDIR_WGET}/usr/bin
+ ${INSTALL_DATA} ${WRKINST}/etc/wgetrc ${IDIR_WGET}/etc/
${INSTALL_BIN} ${WRKINST}/usr/bin/wget ${IDIR_WGET}/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wget/files/wget.conffiles b/package/wget/files/wget.conffiles
new file mode 100644
index 000000000..fc52bd1a2
--- /dev/null
+++ b/package/wget/files/wget.conffiles
@@ -0,0 +1 @@
+/etc/wgetrc