summaryrefslogtreecommitdiffstats
path: root/rules/gawk.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2007-10-04 15:59:48 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2007-10-04 15:59:48 +0000
commit98b59c2b53e26deae2b97b33d7fb9a804e154fbc (patch)
treeb85051c261e2233564f02d3b9584093f54d920a0 /rules/gawk.make
parent5be21892794ab442f3ec8f69159c9999645f0c0c (diff)
downloadptxdist-98b59c2b53e26deae2b97b33d7fb9a804e154fbc.tar.gz
ptxdist-98b59c2b53e26deae2b97b33d7fb9a804e154fbc.tar.xz
* gawk: updated and targetinstall completed. Simply completes
the gawk configuration and installation. Package now usable. Patch by Carsten Schlote. git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7349 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/gawk.make')
-rw-r--r--rules/gawk.make28
1 files changed, 26 insertions, 2 deletions
diff --git a/rules/gawk.make b/rules/gawk.make
index b1e0fbd38..05dd98ed8 100644
--- a/rules/gawk.make
+++ b/rules/gawk.make
@@ -2,7 +2,7 @@
# $Id$
#
# Copyright (C) 2003 by Ixia Corporation, By Milan Bobde
-#
+#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
@@ -104,7 +104,31 @@ gawk_targetinstall: $(STATEDIR)/gawk.targetinstall
$(STATEDIR)/gawk.targetinstall: $(gawk_targetinstall_deps_default)
@$(call targetinfo, $@)
- # FIXME: RSC: ipkgize
+
+ @$(call install_init, gawk)
+ @$(call install_fixup, gawk,PACKAGE,gawk)
+ @$(call install_fixup, gawk,PRIORITY,optional)
+ @$(call install_fixup, gawk,VERSION,$(GAWK_VERSION))
+ @$(call install_fixup, gawk,SECTION,base)
+ @$(call install_fixup, gawk,AUTHOR,"Carsten Schlote <schlote\@konzeptpark.de>")
+ @$(call install_fixup, gawk,DEPENDS,)
+ @$(call install_fixup, gawk,DESCRIPTION,missing)
+
+ @$(call install_copy, gawk, 0, 0, 0755, $(GAWK_DIR)/gawk, /usr/bin/gawk)
+ $(call install_link, gawk, /usr/bin/gawk, /usr/bin/awk)
+
+ifdef PTXCONF_GAWK_PGAWK
+ @$(call install_copy, gawk, 0, 0, 0755, $(GAWK_DIR)/pgawk, /usr/bin/pgawk)
+endif
+
+ifdef PTXCONF_GAWK_AWKLIB
+ @$(call install_copy, gawk, 0, 0, 0755, $(GAWK_DIR)/awklib/igawk, /usr/bin/igawk)
+ @$(call install_copy, gawk, 0, 0, 0755, $(GAWK_DIR)/awklib/pwcat, /usr/libexec/gawk/pwcat)
+ @$(call install_copy, gawk, 0, 0, 0755, $(GAWK_DIR)/awklib/grcat, /usr/libexec/gawk/grcat)
+endif
+
+ @$(call install_finish, gawk)
+
@$(call touch, $@)
# ----------------------------------------------------------------------------