]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - grep/grep.nm
grep: Update to 2.21
[people/ms/ipfire-3.x.git] / grep / grep.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = grep
7 version = 2.21
8 release = 1
9
10 groups = Applications/Text
11 url = http://www.gnu.org/software/grep/
12 license = GPLv3+
13 summary = A pattern matching utilities.
14
15 description
16 The GNU versions of commonly used grep utilities. Grep searches through
17 textual input for lines which contain a match to a specified pattern and then
18 prints the matching lines. GNU's grep utilities include grep, egrep and fgrep.
19 end
20
21 source_dl = ftp://ftp.gnu.org/gnu/grep/
22 sources = %{thisapp}.tar.xz
23
24 build
25 requires
26 autoconf
27 automake
28 gettext-devel
29 pcre-devel
30 texinfo
31 end
32
33 configure_options += \
34 --without-included-regex
35
36 test
37 make check
38 end
39
40 install_cmds
41 mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d
42 install -m 644 %{DIR_SOURCE}/colorgrep.sh \
43 %{BUILDROOT}%{sysconfdir}/profile.d
44 install -m 644 %{DIR_SOURCE}/GREP_COLORS \
45 %{BUILDROOT}%{sysconfdir}
46 end
47 end
48
49 packages
50 package %{name}
51 groups += Base Build
52
53 provides
54 /bin/grep
55 bundled(gnulib)
56 end
57
58 conflicts
59 filesystem < 002
60 end
61
62 configfiles
63 %{sysconfdir}/profile.d/colorgrep.sh
64 %{sysconfdir}/GREP_COLORS
65 end
66 end
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
71 end