1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Base Build System/Tools
11 url = http://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.
23 sources = %{thisapp}.tar.xz
30 configure_options += \
32 --libexecdir=/usr/lib \
33 --with-libsigsegv-prefix=no
40 mkdir -pv %{BUILDROOT}/usr/bin
41 ln -svf ../../bin/awk %{BUILDROOT}/usr/bin/awk
42 ln -svf ../../bin/gawk %{BUILDROOT}/usr/bin/gawk
44 mv -v %{BUILDROOT}/bin/{p,i}gawk %{BUILDROOT}/usr/bin/
46 # Remove versioned binary.
47 rm -rfv %{BUILDROOT}/bin/{,p}gawk-*