Author: bdubbs
Date: Thu Jan  5 08:15:14 2017
New Revision: 18138

Log:
Update script for pulseaudio

Modified:
   trunk/scripts/blfs-chapter46.php

Modified: trunk/scripts/blfs-chapter46.php
==============================================================================
--- trunk/scripts/blfs-chapter46.php    Thu Jan  5 02:27:51 2017        (r18137)
+++ trunk/scripts/blfs-chapter46.php    Thu Jan  5 08:15:14 2017        (r18138)
@@ -18,7 +18,7 @@
 
 $ignores = array();
 
-//$current="SDL2";
+//$current="pulseaudio";
 
 $regex = array();
 $regex[ 'faac'             ] = "/^.*Download faac-(\d[\d\.]+\d).tar.*$/";
@@ -297,6 +297,10 @@
   if ( $package == "libcdio-paranoia" )
       return find_max( $lines, "/paranoia/", 
"/^.*paranoia-([\d\.\+]+).tar.*$/" );
 
+  if ( $package == "pulseaudio" ) // Skip minors > 90
+      return find_max( $lines, "/$package/", 
+                               "/^.*$package-([\d\.]*\d)\.tar.*$/" , TRUE );
+
   // Most packages are in the form $package-n.n.n
   // Occasionally there are dashes (e.g. 201-1)
   $max = find_max( $lines, "/$package/", "/^.*$package-([\d\.]*\d)\.tar.*$/" );
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to