1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = https://www.gnu.org/software/gawk/gawk.html
13 summary = The GNU version of the awk text processing utility
16 The gawk package contains the GNU version of awk, a text processing
17 utility. Awk interprets a special-purpose programming language to do
18 quick and easy text pattern matching and reformatting jobs.
21 # Needed for testsuite.
22 source_dl = https://ftp.gnu.org/gnu/gawk/
23 sources = %{thisapp}.tar.xz
33 configure_options += \
37 # The config scripts checks if the used compiler accepts -no-pie and if
38 # yes, will set this as compile and linker flags - Change this to pie.
39 sed -i 's/-no-pie/-pie/g' configure
47 ln -svf gawk %{BUILDROOT}/usr/bin/awk
49 # Remove versioned binary.
50 rm -rfv %{BUILDROOT}%{bindir}/{,p}gawk-*
66 package %{name}-debuginfo