]>
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 | 6 | name = grep |
384e8812 | 7 | version = 2.19 |
fc6a8e6d | 8 | release = 1 |
166a6c21 | 9 | |
0e4842b8 | 10 | groups = Applications/Text |
802ea3af MT |
11 | url = http://www.gnu.org/software/grep/ |
12 | license = GPLv3+ | |
13 | summary = A pattern matching utilities. | |
166a6c21 | 14 | |
802ea3af | 15 | description |
c9c0fb51 SS |
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 | |
166a6c21 | 18 | prints the matching lines. GNU's grep utilities include grep, egrep and fgrep. |
802ea3af MT |
19 | end |
20 | ||
d2a424c0 | 21 | source_dl = ftp://ftp.gnu.org/gnu/grep/ |
802ea3af MT |
22 | sources = %{thisapp}.tar.xz |
23 | ||
24 | build | |
25 | requires | |
b9cc2403 MT |
26 | autoconf |
27 | automake | |
28 | gettext-devel | |
802ea3af | 29 | pcre-devel |
b9cc2403 | 30 | texinfo |
802ea3af | 31 | end |
166a6c21 | 32 | |
b9cc2403 MT |
33 | configure_options += \ |
34 | --without-included-regex | |
35 | ||
802ea3af MT |
36 | test |
37 | make check | |
38 | end | |
87621bcc MT |
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 | |
802ea3af | 47 | end |
e7a5bed3 | 48 | |
802ea3af MT |
49 | packages |
50 | package %{name} | |
0e4842b8 | 51 | groups += Base Build |
cf0ceada MT |
52 | |
53 | provides | |
54 | /bin/grep | |
87621bcc | 55 | bundled(gnulib) |
cf0ceada MT |
56 | end |
57 | ||
58 | conflicts | |
59 | filesystem < 002 | |
60 | end | |
87621bcc MT |
61 | |
62 | configfiles | |
63 | %{sysconfdir}/profile.d/colorgrep.sh | |
64 | %{sysconfdir}/GREP_COLORS | |
65 | end | |
802ea3af | 66 | end |
1f9bc2f0 MT |
67 | |
68 | package %{name}-debuginfo | |
69 | template DEBUGINFO | |
70 | end | |
802ea3af | 71 | end |