]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - gawk/gawk.nm
gawk: Move tool to /usr.
[people/amarx/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 = 4.0.1
8 release = 2
9
10 groups = 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.
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 = http://ftp.gnu.org/gnu/gawk/
23 sources = %{thisapp}.tar.xz
24
25 build
26 requires
27 util-linux
28 end
29
30 configure_options += \
31 --with-libsigsegv-prefix=no
32
33 test
34 make check diffout
35 end
36
37 install_cmds
38 ln -svf gawk %{BUILDROOT}/usr/bin/awk
39
40 # Remove versioned binary.
41 rm -rfv %{BUILDROOT}%{bindir}/{,p}gawk-*
42 end
43 end
44
45 packages
46 package %{name}
47 groups += Base Build
48
49 provides
50 /bin/awk
51 /bin/gawk
52 end
53
54 conflicts
55 filesystem < 002
56 end
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
62 end