]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - grep/grep.nm
glibc: Disable multilib support on X86_64
[people/stevee/ipfire-3.x.git] / grep / grep.nm
index f50b4cbfddb25ba02b9898a0981817c130378d33..757d577cf3a8ec5a26bb8f62dfbceeef4b29e906 100644 (file)
@@ -4,39 +4,63 @@
 ###############################################################################
 
 name       = grep
-version    = 2.10
-release    = 2
+version    = 3.8
+release    = 1
 
 groups     = Applications/Text
-url        = http://www.gnu.org/software/grep/
+url        = https://www.gnu.org/software/grep/
 license    = GPLv3+
 summary    = A pattern matching utilities.
 
 description
-       The GNU versions of commonly used grep utilities. Grep searches through \
-       textual input for lines which contain a match to a specified pattern and then \
+       The GNU versions of commonly used grep utilities. Grep searches through
+       textual input for lines which contain a match to a specified pattern and then
        prints the matching lines. GNU's grep utilities include grep, egrep and fgrep.
 end
 
-source_dl  = ftp://ftp.gnu.org/gnu/grep/
+source_dl  = https://ftp.gnu.org/gnu/grep/
 sources    = %{thisapp}.tar.xz
 
 build
        requires
-               pcre-devel
+               autoconf
+               automake
+               gettext-devel
+               pcre2-devel
+               texinfo
        end
 
        configure_options += \
-               --bindir=/bin
+               --without-included-regex
 
        test
                make check
        end
+
+       install_cmds
+               mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d
+               install -m 644 %{DIR_SOURCE}/colorgrep.sh \
+                       %{BUILDROOT}%{sysconfdir}/profile.d
+               install -m 644 %{DIR_SOURCE}/GREP_COLORS \
+                       %{BUILDROOT}%{sysconfdir}
+       end
 end
 
 packages
        package %{name}
-               groups += Base Build
+               provides
+                       /bin/grep
+                       bundled(gnulib)
+               end
+
+               conflicts
+                       filesystem < 002
+               end
+
+               configfiles
+                       %{sysconfdir}/profile.d/colorgrep.sh
+                       %{sysconfdir}/GREP_COLORS
+               end
        end
 
        package %{name}-debuginfo