Files
Daniel Golle 36f5dddc5b gawk: update to 5.4.0
Changes from 5.3.x to 5.4.0:
 * Use Mike Haertel's MinRX regular expression matcher by default.
   The old regex and dfa engines are still available.
 * New @nsinclude directive: like @include but doesn't reset
   the namespace to "awk".
 * lshift()/rshift() return 0 when shifting more bits than in uintmax_t.
 * Persistent memory: store meta-info in backing file; warn on
   version mismatch; allow dynamic extensions with persistent memory.
 * ordchr extension now supports multibyte / wide characters.
 * length(array) is no longer an extension (POSIX 2024); --posix
   no longer rejects it and --lint no longer warns.
 * --traditional rationalised to match BWK awk behaviour.
 * Assertions are now enabled in the C code.
 * Hexadecimal floating-point values may now be used in source,
   strtonum() and -n/--non-decimal-data option.
 * UDP networking support is now deprecated, will be removed in 6.0.
 * Reading regular disk input files is somewhat faster (no timeout check).
 * Various bug fixes.

Link: https://git.savannah.gnu.org/cgit/gawk.git/plain/NEWS?h=gawk-5.4.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-09 19:11:39 +03:00

47 lines
1.2 KiB
Makefile

# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=gawk
PKG_VERSION:=5.4.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/gawk
PKG_HASH:=3dd430f0cd3b4428c6c3f6afc021b9cd3c1f8c93f7a688dc268ca428a90b4ac1
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/gawk
SECTION:=utils
CATEGORY:=Utilities
URL:=https://www.gnu.org/software/gawk/
TITLE:=GNU awk
DEPENDS:=+libncursesw +libreadline
ALTERNATIVES:=200:/usr/bin/awk:/usr/bin/gawk
endef
CONFIGURE_ARGS+= --disable-mpfr
define Package/gawk/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/gawk $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/lib/gawk
$(CP) $(PKG_INSTALL_DIR)/usr/lib/gawk/* $(1)/usr/lib/gawk/
$(INSTALL_DIR) $(1)/usr/lib/awk
$(CP) $(PKG_INSTALL_DIR)/usr/lib/awk/* $(1)/usr/lib/awk/
$(INSTALL_DIR) $(1)/usr/share/awk
$(CP) $(PKG_INSTALL_DIR)/usr/share/awk/* $(1)/usr/share/awk/
endef
$(eval $(call BuildPackage,gawk))