]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - grep/grep.nm
grep: Update to 2.17.
[people/ms/ipfire-3.x.git] / grep / grep.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 6name = grep
87621bcc 7version = 2.17
fc6a8e6d 8release = 1
166a6c21 9
0e4842b8 10groups = Applications/Text
802ea3af
MT
11url = http://www.gnu.org/software/grep/
12license = GPLv3+
13summary = A pattern matching utilities.
166a6c21 14
802ea3af 15description
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
19end
20
d2a424c0 21source_dl = ftp://ftp.gnu.org/gnu/grep/
802ea3af
MT
22sources = %{thisapp}.tar.xz
23
24build
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 prepare_cmds
34 sed -e "s/gnulib-tests//" -i Makefile.am
35 autoreconf -vfi
36 end
37
38 configure_options += \
39 --without-included-regex
40
802ea3af
MT
41 test
42 make check
43 end
87621bcc
MT
44
45 install_cmds
46 mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d
47 install -m 644 %{DIR_SOURCE}/colorgrep.sh \
48 %{BUILDROOT}%{sysconfdir}/profile.d
49 install -m 644 %{DIR_SOURCE}/GREP_COLORS \
50 %{BUILDROOT}%{sysconfdir}
51 end
802ea3af 52end
e7a5bed3 53
802ea3af
MT
54packages
55 package %{name}
0e4842b8 56 groups += Base Build
cf0ceada
MT
57
58 provides
59 /bin/grep
87621bcc 60 bundled(gnulib)
cf0ceada
MT
61 end
62
63 conflicts
64 filesystem < 002
65 end
87621bcc
MT
66
67 configfiles
68 %{sysconfdir}/profile.d/colorgrep.sh
69 %{sysconfdir}/GREP_COLORS
70 end
802ea3af 71 end
1f9bc2f0
MT
72
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
802ea3af 76end