summaryrefslogtreecommitdiff
path: root/packages/gawk
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-22 07:33:13 +0000
committerChris Larson <clarson@kergoth.com>2004-12-22 07:33:13 +0000
commitd00dd013ea07ae2535be35cef288d9d6f285eee5 (patch)
tree69b6dc224286ac3020c23dbaf1ba043c795e0e77 /packages/gawk
parent748f8e09f84c0ea00ebce9fdf3dc80805d6301e0 (diff)
Include the /usr/bin/awk symlink in the gawk package. Should probably use update-alternatives for that at some point.
BKrev: 41c92339jdk1hcPqy5QoYYLBNOpEGw
Diffstat (limited to 'packages/gawk')
-rw-r--r--packages/gawk/gawk_3.1.4.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/gawk/gawk_3.1.4.bb b/packages/gawk/gawk_3.1.4.bb
index e69de29bb2..0ebcbce588 100644
--- a/packages/gawk/gawk_3.1.4.bb
+++ b/packages/gawk/gawk_3.1.4.bb
@@ -0,0 +1,19 @@
+LICENSE = "GPL"
+SECTION = "interpreters"
+DESCRIPTION = "A program that you can use to select particular records in a \
+file and perform operations upon them."
+PR = "r1"
+PACKAGES += "gawk-common pgawk"
+FILES_${PN} = "${bindir}/gawk* ${bindir}/igawk ${bindir}/awk*"
+FILES_gawk-common += "${datadir}/awk ${libexecdir}/awk"
+FILES_pgawk = "${bindir}/pgawk*"
+RDEPENDS_gawk += "gawk-common"
+RDEPENDS_pgawk += "gawk-common"
+
+SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz"
+
+inherit autotools
+
+do_configure_prepend () {
+ grep -E '^AC_DEFUN' m4/*.m4|grep -E '\(\[?(AM|AC)_'|xargs rm -f
+}