Author: bdubbs
Date: Tue Nov 3 08:35:11 2015
New Revision: 16598
Log:
Fix script for libxkbcommon
Modified:
trunk/scripts/blfs-chapter09.php
Modified: trunk/scripts/blfs-chapter09.php
==============================================================================
--- trunk/scripts/blfs-chapter09.php Tue Nov 3 07:50:13 2015 (r16597)
+++ trunk/scripts/blfs-chapter09.php Tue Nov 3 08:35:11 2015 (r16598)
@@ -11,12 +11,11 @@
$renames = array();
$ignores = array();
-//$current="nspr"; // For debugging
+//$current="libxkbcommon"; // For debugging
$regex = array();
$regex[ 'clucene-core' ] = "/^.*Download clucene-core-([\d\.]+).tar.*$/";
$regex[ 'expat' ] = "/^.*Download expat-([\d\.]+).tar.*$/";
-//$regex[ 'libesmtp' ] = "/^.*libesmtp-([\d\.]+).tar.*$/";
$regex[ 'libzeitgeist' ] = "/^.*Latest version is ([\d\.]+)\s*$/";
$regex[ 'mozjs' ] = "/^.*mozjs(\d[\d\.]+\d).tar.*$/";
$regex[ 'mozjs1' ] = "/^.*mozjs-(\d[\d\.]+\d).tar.*$/";
@@ -75,6 +74,10 @@
'match' => '^.*$',
'replace' => "http://$sf/projects/libusb/files/libusb-compat-0.1" ),
+ array( 'pkg' => 'libxkbcommon',
+ 'match' => '^.*$',
+ 'replace' => "http://xkbcommon.org" ),
+
array( 'pkg' => 'openobex',
'match' => '^.*$',
'replace' => "http://$sf/projects/openobex/files/openobex" ),
@@ -294,6 +297,9 @@
if ( $book_index == "libusb-compat" )
return find_max( $lines, '/^.*compat-[\d\.]+$/', '/^.*compat-([\d\.]+)$/'
);
+ if ( $book_index == "libxkbcommon" )
+ return find_max( $lines, '/\d\./', '/^.*(0\.[\d\.]+)\..*$/' );
+
if ( $book_index == "libxml2" )
return find_max( $lines, '/libxml2/', '/^.*libxml2-([\d\.-]+).tar.*$/' );
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page