Changeset 7886729e for lfs-latest.php


Ignore:
Timestamp:
09/24/2017 06:00:25 PM (7 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
7a47ddb
Parents:
81ed05f
Message:

Update lfs currency scripts for new packages

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11307 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lfs-latest.php

    r81ed05f r7886729e  
    119119if ( $package == "gcc"        ) $dirpath = max_parent( $dirpath, "gcc-" );
    120120if ( $package == "intltool"   ) $dirpath = "https://launchpad.net/intltool/trunk";
     121if ( $package == "meson"      ) $dirpath = "https://github.com/mesonbuild/meson/releases";
    121122if ( $package == "mpc"        ) $dirpath = "http://www.multiprecision.org/index.php?prog=mpc&page=download";
    122123if ( $package == "mpfr"       ) $dirpath = "http://mpfr.loria.fr/mpfr-current";
     124if ( $package == "ninja"      ) $dirpath = "https://github.com/ninja-build/ninja/releases";
    123125if ( $package == "procps-ng"  ) $dirpath = "http://sourceforge.net/projects/procps-ng/files";
    124126if ( $package == "psmisc"     ) $dirpath = "http://sourceforge.net/projects/$package/files";
     
    251253  }
    252254
     255  if ( $package == "ninja" )
     256     return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]*\d).*$/" );
     257
    253258  if ( $package == "gmp" )
    254259     return find_max( $lines, "/$package/", "/^.*$package-([\d\._]*\d[a-z]?).tar.*$/" );
     
    320325      }
    321326
    322       else if ( preg_match( "/eudev.*manpages/", $file ) )
    323       {
    324         continue;
    325       }
     327      else if ( preg_match( "/eudev.*manpages/", $file ) ) continue;
     328      else if ( preg_match( "/python/"         , $file ) ) continue;
    326329
    327330      $version = preg_replace( $pattern, "$1", $file );   // Isolate version
Note: See TracChangeset for help on using the changeset viewer.