Files
packages/utils/gawk/Makefile
Daniel Golle 19599fa63d gawk: update to 5.4.1
Changes from 5.4.0 to 5.4.1:
1. Fixed a performance problem in PMA with backing store files 1G or
   more in size, by disabling assertions in support/pma.c.
2. Fixed a bug in gensub() when using MinRX.
3. Revised all files that referred to the FSF's old address.
4. Confirmed MinRX case-insensitive matching behaviour is correct per
   POSIX even where one character has multiple alternative case
   variants; documented and added tests for it.
5. Unary plus and minus now force their operands to be numeric.
6. Documented the intdiv extension (man page and manual description).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-08-23 19:53:55 +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.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/gawk
PKG_HASH:=07f6f7342b7febe4313fc2c2542ad93d64fe20ad8717200109f105a826f5fd37
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))