Author: bdubbs
Date: Sat Feb  2 22:13:05 2019
New Revision: 21079

Log:
Update currency for opencv

Modified:
   trunk/scripts/blfs-chapter10.php

Modified: trunk/scripts/blfs-chapter10.php
==============================================================================
--- trunk/scripts/blfs-chapter10.php    Sat Feb  2 18:27:24 2019        (r21078)
+++ trunk/scripts/blfs-chapter10.php    Sat Feb  2 22:13:05 2019        (r21079)
@@ -111,7 +111,7 @@
 
  array( 'pkg'     => 'opencv',
         'match'   => '^.*$', 
-        'replace' => 
"http://sourceforge.net/projects/opencvlibrary/files/opencv-unix"; ),
+        'replace' => "https://github.com/opencv/opencv/releases"; ),
 
  array( 'pkg'     => 'opencv_contrib',
         'match'   => '^.*$', 
@@ -296,10 +296,10 @@
     return find_max( $lines, '/^\s*1/', '/^\s*(1[\d\.]+) .*$/' );
 
   if ( $book_index == "opencv" )
-    return find_max( $lines, '/^\s*\d/', '/^\s*(\d\.[\d\.]+) .*$/' );
+    return find_max( $lines, '/OpenCV/', '/^.*OpenCV (\d\.[\d\.]+)$/' );
 
   if ( $book_index == "opencv_contrib" )
-    return find_max( $lines, '/3\./', '/^.* (3\.[\d\.]+).*$/' );
+    return find_max( $lines, '/ \d\./', '/^.* (\d\.[\d\.]+).*$/' );
 
   // OpenJPEG2
   if ( $book_index == "openjpeg" ) 
-- 
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