]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = gawk |
94df67d0 | 7 | version = 4.1.3 |
6bb58a23 | 8 | release = 1 |
166a6c21 | 9 | |
bb4ba598 | 10 | groups = System/Tools |
802ea3af MT |
11 | url = http://www.gnu.org/software/gawk/gawk.html |
12 | license = GPLv3+ | |
13 | summary = The GNU version of the awk text processing utility. | |
04c03d11 | 14 | |
802ea3af | 15 | description |
166a6c21 MT |
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. | |
802ea3af | 19 | end |
166a6c21 | 20 | |
802ea3af | 21 | # Needed for testsuite. |
39c41124 | 22 | source_dl = http://ftp.gnu.org/gnu/gawk/ |
802ea3af MT |
23 | sources = %{thisapp}.tar.xz |
24 | ||
25 | build | |
26 | requires | |
6bb58a23 | 27 | mpfr-devel |
802ea3af MT |
28 | util-linux |
29 | end | |
30 | ||
31 | configure_options += \ | |
802ea3af MT |
32 | --with-libsigsegv-prefix=no |
33 | ||
34 | test | |
35 | make check diffout | |
36 | end | |
37 | ||
38 | install_cmds | |
be90e5a5 | 39 | ln -svf gawk %{BUILDROOT}/usr/bin/awk |
802ea3af MT |
40 | |
41 | # Remove versioned binary. | |
be90e5a5 | 42 | rm -rfv %{BUILDROOT}%{bindir}/{,p}gawk-* |
802ea3af MT |
43 | end |
44 | end | |
45 | ||
46 | packages | |
47 | package %{name} | |
bb4ba598 | 48 | groups += Base Build |
be90e5a5 MT |
49 | |
50 | provides | |
51 | /bin/awk | |
52 | /bin/gawk | |
53 | end | |
54 | ||
55 | conflicts | |
56 | filesystem < 002 | |
57 | end | |
802ea3af | 58 | end |
1f9bc2f0 MT |
59 | |
60 | package %{name}-debuginfo | |
61 | template DEBUGINFO | |
62 | end | |
802ea3af | 63 | end |