summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2011-01-07 17:21:43 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-10 09:45:26 (GMT)
commita559284df14e455fb40317a93843eb1b5c6c672b (patch)
tree7486ded2b789932559883a1b9cacf154749ad835 /package
parent61692c9004d1f7114048c7c91ff4009aa94227e6 (diff)
wget: install /etc/wgetrc along with the package
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Diffstat (limited to 'package')
-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 6629e12..e2ff151 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 0000000..fc52bd1
--- /dev/null
+++ b/package/wget/files/wget.conffiles
@@ -0,0 +1 @@
+/etc/wgetrc