]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - gawk/gawk.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / gawk / gawk.nm
CommitLineData
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
6name = gawk
7version = 4.0.0
8release = 1
166a6c21 9
802ea3af
MT
10groups = Base Build System/Tools
11url = http://www.gnu.org/software/gawk/gawk.html
12license = GPLv3+
13summary = The GNU version of the awk text processing utility.
04c03d11 14
802ea3af 15description
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 19end
166a6c21 20
802ea3af
MT
21# Needed for testsuite.
22source_dl =
23sources = %{thisapp}.tar.xz
24
25build
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
49end
50
51packages
52 package %{name}
53 end
1f9bc2f0
MT
54
55 package %{name}-debuginfo
56 template DEBUGINFO
57 end
802ea3af 58end