]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - gawk/gawk.nm
kernel: Change ASPM policy to default
[ipfire-3.x.git] / gawk / gawk.nm
index 30bffddcda0973ed9a1465eaf01ff2ade3c6d973..8458b03a1381b0e02e7054f16bb1db679e86cdca 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = gawk
-version    = 4.0.0
-release    = 2
+version    = 4.1.3
+release    = 1
 
 groups     = System/Tools
 url        = http://www.gnu.org/software/gawk/gawk.html
@@ -19,17 +19,16 @@ description
 end
 
 # Needed for testsuite.
-source_dl  =
+source_dl  = http://ftp.gnu.org/gnu/gawk/
 sources    = %{thisapp}.tar.xz
 
 build
        requires
+               mpfr-devel
                util-linux
        end
 
        configure_options += \
-               --bindir=/bin \
-               --libexecdir=/usr/lib \
                --with-libsigsegv-prefix=no
 
        test
@@ -37,20 +36,25 @@ build
        end
 
        install_cmds
-               mkdir -pv %{BUILDROOT}/usr/bin
-               ln -svf ../../bin/awk %{BUILDROOT}/usr/bin/awk
-               ln -svf ../../bin/gawk %{BUILDROOT}/usr/bin/gawk
-
-               mv -v %{BUILDROOT}/bin/{p,i}gawk %{BUILDROOT}/usr/bin/
+               ln -svf gawk %{BUILDROOT}/usr/bin/awk
 
                # Remove versioned binary.
-               rm -rfv %{BUILDROOT}/bin/{,p}gawk-*
+               rm -rfv %{BUILDROOT}%{bindir}/{,p}gawk-*
        end
 end
 
 packages
        package %{name}
                groups += Base Build
+
+               provides
+                       /bin/awk
+                       /bin/gawk
+               end
+
+               conflicts
+                       filesystem < 002
+               end
        end
 
        package %{name}-debuginfo