]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - gawk/gawk.nm
elfutils: Correctly configure debuginfod
[people/pmueller/ipfire-3.x.git] / gawk / gawk.nm
CommitLineData
166a6c21 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
166a6c21
MT
4###############################################################################
5
802ea3af 6name = gawk
2393facf
MT
7version = 5.2.2
8release = 1
166a6c21 9
bb4ba598 10groups = System/Tools
40c82121 11url = https://www.gnu.org/software/gawk/gawk.html
802ea3af 12license = GPLv3+
40c82121 13summary = The GNU version of the awk text processing utility
04c03d11 14
802ea3af 15description
1a1f3921
SS
16 The gawk package contains the GNU version of awk, a text processing
17 utility. Awk interprets a special-purpose programming language to do
166a6c21 18 quick and easy text pattern matching and reformatting jobs.
802ea3af 19end
166a6c21 20
802ea3af 21# Needed for testsuite.
40c82121 22source_dl = https://ftp.gnu.org/gnu/gawk/
802ea3af
MT
23sources = %{thisapp}.tar.xz
24
25build
26 requires
2393facf
MT
27 autoconf
28 automake
6bb58a23 29 mpfr-devel
802ea3af
MT
30 util-linux
31 end
32
33 configure_options += \
2393facf 34 --disable-libsigsegv
802ea3af 35
4f27435e
SS
36 prepare_cmds
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
40 end
41
802ea3af
MT
42 test
43 make check diffout
44 end
45
46 install_cmds
be90e5a5 47 ln -svf gawk %{BUILDROOT}/usr/bin/awk
802ea3af
MT
48
49 # Remove versioned binary.
be90e5a5 50 rm -rfv %{BUILDROOT}%{bindir}/{,p}gawk-*
802ea3af
MT
51 end
52end
53
54packages
55 package %{name}
be90e5a5
MT
56 provides
57 /bin/awk
58 /bin/gawk
59 end
60
61 conflicts
62 filesystem < 002
63 end
802ea3af 64 end
1f9bc2f0
MT
65
66 package %{name}-debuginfo
67 template DEBUGINFO
68 end
802ea3af 69end