]>
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 MT |
6 | name = gawk |
7 | version = 4.0.0 | |
8 | release = 1 | |
166a6c21 | 9 | |
802ea3af MT |
10 | groups = Base Build System/Tools |
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 MT |
21 | # Needed for testsuite. |
22 | source_dl = | |
23 | sources = %{thisapp}.tar.xz | |
24 | ||
25 | build | |
26 | requires | |
27 | util-linux | |
28 | end | |
29 | ||
30 | configure_options += \ | |
31 | --bindir=/bin \ | |
32 | --libexecdir=/usr/lib \ | |
33 | --with-libsigsegv-prefix=no | |
34 | ||
35 | test | |
36 | make check diffout | |
37 | end | |
38 | ||
39 | install_cmds | |
40 | mkdir -pv %{BUILDROOT}/usr/bin | |
41 | ln -svf ../../bin/awk %{BUILDROOT}/usr/bin/awk | |
42 | ln -svf ../../bin/gawk %{BUILDROOT}/usr/bin/gawk | |
43 | ||
44 | mv -v %{BUILDROOT}/bin/{p,i}gawk %{BUILDROOT}/usr/bin/ | |
45 | ||
46 | # Remove versioned binary. | |
47 | rm -rfv %{BUILDROOT}/bin/{,p}gawk-* | |
48 | end | |
49 | end | |
50 | ||
51 | packages | |
52 | package %{name} | |
53 | end | |
54 | end |