]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - gawk/gawk.nm
Add a -debuginfo for every package that is not noarch.
[people/arne_f/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.0
8 release = 1
9
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.
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 =
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
55 package %{name}-debuginfo
56 template DEBUGINFO
57 end
58 end