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