summaryrefslogtreecommitdiff
path: root/package/gawk/gawk.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-11-13 19:27:52 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-11-14 09:26:11 +0100
commitf00bc8ac3b93e5e2aa5c8b2c8354de7453d9b60a (patch)
treed31f02801718c47f011b8e2640a1e421d6d32354 /package/gawk/gawk.mk
parent28df108c9b446ec582530721636584fefe27b564 (diff)
gawk: bump to version 4.0.0
Bump gawk to version 4.0.0 Also build after busybox if it's enabled. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gawk/gawk.mk')
-rw-r--r--package/gawk/gawk.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/gawk/gawk.mk b/package/gawk/gawk.mk
index 445414b58..7fd85eea4 100644
--- a/package/gawk/gawk.mk
+++ b/package/gawk/gawk.mk
@@ -4,10 +4,15 @@
#
#############################################################
-GAWK_VERSION = 3.1.8
+GAWK_VERSION = 4.0.0
GAWK_SITE = $(BR2_GNU_MIRROR)/gawk
GAWK_TARGET_BINS = awk gawk igawk pgawk
+# Prefer full-blown gawk over busybox awk
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+GAWK_DEPENDENCIES += busybox
+endif
+
define GAWK_CREATE_SYMLINK
ln -sf /usr/bin/gawk $(TARGET_DIR)/usr/bin/awk
endef