summaryrefslogtreecommitdiffstats
path: root/rules/penguzilla.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/penguzilla.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/penguzilla.make')
-rw-r--r--rules/penguzilla.make23
1 files changed, 18 insertions, 5 deletions
diff --git a/rules/penguzilla.make b/rules/penguzilla.make
index 40ef9c6eb..a39290363 100644
--- a/rules/penguzilla.make
+++ b/rules/penguzilla.make
@@ -54,6 +54,7 @@ $(STATEDIR)/penguzilla.extract: $(penguzilla_extract_deps)
@$(call targetinfo, $@)
@$(call clean, $(PENGUZILLA_DIR))
@$(call extract, $(PENGUZILLA_SOURCE))
+ @$(call patchin, $(PENGUZILLA))
touch $@
# ----------------------------------------------------------------------------
@@ -132,15 +133,26 @@ penguzilla_targetinstall_deps = \
$(STATEDIR)/penguzilla.targetinstall: $(penguzilla_targetinstall_deps)
@$(call targetinfo, $@)
+ @$(call install_init,default)
+ @$(call install_fixup,PACKAGE,penguzilla)
+ @$(call install_fixup,PRIORITY,optional)
+ @$(call install_fixup,VERSION,$(PENGUZILLA_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)
+
# # pixmap directory
- install -d $(ROOTDIR)/usr/share/penguzilla/pixmaps
- cp -a $(PENGUZILLA_DIR)/pixmaps/* $(ROOTDIR)/usr/share/penguzilla/pixmaps
+ for file in $(PENGUZILLA_DIR)/pixmaps/*; do \
+ $(call install_copy, 0, 0, 0644, $$file, /usr/share/penguzilla/pixmaps/) \
+ done
- install -d $(ROOTDIR)/usr/bin
- install $(PENGUZILLA_DIR)/src/penguzilla $(ROOTDIR)/usr/bin
+ @$(call install_copy, 0, 0, 0755, $(PENGUZILLA_DIR)/src/penguzilla, /usr/bin/penguzilla)
# # Style
- install $(PENGUZILLA_DIR)/penguzilla.rc $(ROOTDIR)/usr/share/penguzilla
+ @$(call install_copy, 0, 0, 0644, $(PENGUZILLA_DIR)/penguzilla.rc, /usr/share/penguzilla/penguzillarc, n)
+
+ @$(call install_finish)
touch $@
@@ -150,6 +162,7 @@ $(STATEDIR)/penguzilla.targetinstall: $(penguzilla_targetinstall_deps)
penguzilla_clean:
rm -rf $(STATEDIR)/penguzilla.*
+ rm -rf $(IMAGEDIR)/penguzilla_*
rm -rf $(PENGUZILLA_DIR)
# vim: syntax=make