summaryrefslogtreecommitdiffstats
path: root/rules/dnsmasq.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2005-04-27 09:36:01 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2005-04-27 09:36:01 +0000
commitc58042910ed97dc1c9c76b4c4491640e6911a467 (patch)
tree449e3f28889cca891e865860a2c0d491ed3fed6a /rules/dnsmasq.make
parentaf1eb3b0733abd216e2b7bd3e1058725830e4108 (diff)
downloadptxdist-c58042910ed97dc1c9c76b4c4491640e6911a467.tar.gz
ptxdist-c58042910ed97dc1c9c76b4c4491640e6911a467.tar.xz
ipkgized
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@2535 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/dnsmasq.make')
-rw-r--r--rules/dnsmasq.make17
1 files changed, 15 insertions, 2 deletions
diff --git a/rules/dnsmasq.make b/rules/dnsmasq.make
index c83b7597c..1840ca7c1 100644
--- a/rules/dnsmasq.make
+++ b/rules/dnsmasq.make
@@ -113,8 +113,20 @@ dnsmasq_targetinstall_deps = $(STATEDIR)/dnsmasq.compile
$(STATEDIR)/dnsmasq.targetinstall: $(dnsmasq_targetinstall_deps)
@$(call targetinfo, $@)
- install -m 755 $(DNSMASQ_DIR)/src/dnsmasq $(ROOTDIR)/sbin/dnsmasq
- $(CROSSSTRIP) -R .note -R .comment $(ROOTDIR)/sbin/dnsmasq
+
+ @$(call install_init,default)
+ @$(call install_fixup,PACKAGE,dnsmasq)
+ @$(call install_fixup,PRIORITY,optional)
+ @$(call install_fixup,VERSION,$(DNSMASQ_VERSION))
+ @$(call install_fixup,SECTION,base)
+ @$(call install_fixup,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>")
+ @$(call install_fixup,DEPENDS,libc)
+ @$(call install_fixup,DESCRIPTION,missing)
+
+ @$(call install_copy, 0, 0, 0755, $(DNSMASQ_DIR)/src/dnsmasq, /sbin/dnsmasq)
+
+ @$(call install_finish)
+
touch $@
# ----------------------------------------------------------------------------
@@ -123,6 +135,7 @@ $(STATEDIR)/dnsmasq.targetinstall: $(dnsmasq_targetinstall_deps)
dnsmasq_clean:
rm -rf $(STATEDIR)/dnsmasq.*
+ rm -rf $(IMAGEDIR)/dnsmasq_*
rm -rf $(DNSMASQ_DIR)
# vim: syntax=make