kumquat-buildroot/package/gawk/gawk.mk
Gustavo Zacarias fb256466f6 gawk: bump to version 4.1.1
Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-19 13:40:13 +01:00

41 lines
1.1 KiB
Makefile

################################################################################
#
# gawk
#
################################################################################
GAWK_VERSION = 4.1.1
GAWK_SOURCE = gawk-$(GAWK_VERSION).tar.xz
GAWK_SITE = $(BR2_GNU_MIRROR)/gawk
GAWK_DEPENDENCIES = host-gawk $(if $(BR2_PACKAGE_MPFR),mpfr)
GAWK_LICENSE = GPLv3+
GAWK_LICENSE_FILES = COPYING
# beta libtool version
GAWK_AUTORECONF = YES
GAWK_GETTEXTIZE = YES
# Prefer full-blown gawk over busybox awk
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
GAWK_DEPENDENCIES += busybox
endif
# We don't have a host-busybox
HOST_GAWK_DEPENDENCIES =
define GAWK_CREATE_SYMLINK
ln -sf /usr/bin/gawk $(TARGET_DIR)/usr/bin/awk
endef
GAWK_POST_INSTALL_TARGET_HOOKS += GAWK_CREATE_SYMLINK
# Assume we support shared libs
# The check isn't cross-compile friendly and it's mandatory anyway
define GAWK_DISABLE_SHARED_CHECK
$(SED) 's/ check-for-shared-lib-support//' $(@D)/extension/Makefile.in
endef
GAWK_POST_PATCH_HOOKS += GAWK_DISABLE_SHARED_CHECK
$(eval $(autotools-package))
$(eval $(host-autotools-package))