]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame_incremental - grep/grep.nm
grep: Update to 2.17.
[people/ms/ipfire-3.x.git] / grep / grep.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = grep
7version = 2.17
8release = 1
9
10groups = Applications/Text
11url = http://www.gnu.org/software/grep/
12license = GPLv3+
13summary = A pattern matching utilities.
14
15description
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.
19end
20
21source_dl = ftp://ftp.gnu.org/gnu/grep/
22sources = %{thisapp}.tar.xz
23
24build
25 requires
26 autoconf
27 automake
28 gettext-devel
29 pcre-devel
30 texinfo
31 end
32
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
41 test
42 make check
43 end
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
52end
53
54packages
55 package %{name}
56 groups += Base Build
57
58 provides
59 /bin/grep
60 bundled(gnulib)
61 end
62
63 conflicts
64 filesystem < 002
65 end
66
67 configfiles
68 %{sysconfdir}/profile.d/colorgrep.sh
69 %{sysconfdir}/GREP_COLORS
70 end
71 end
72
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
76end