Author: bdubbs
Date: Mon Dec 14 20:55:26 2020
New Revision: 23980

Log:
Add currency for inih

Modified:
   trunk/scripts/blfs-chapter09.php

Modified: trunk/scripts/blfs-chapter09.php
==============================================================================
--- trunk/scripts/blfs-chapter09.php    Mon Dec 14 12:29:57 2020        (r23979)
+++ trunk/scripts/blfs-chapter09.php    Mon Dec 14 20:55:26 2020        (r23980)
@@ -12,6 +12,7 @@
 $renames[ 'node-v'                ] = 'node.js';
 $renames[ 'libuv-v'               ] = 'libuv';
 $renames[ 'firefox'               ] = 'js';
+$renames[ 'inih-r'                ] = 'inih';
 $renames[ 'mozjs'                 ] = 'js60';
 #$renames[ 'mozjs1'                ] = 'js52';
 $renames[ 'gmime1'                ] = 'gmime3';
@@ -65,6 +66,10 @@
         'match'   => '^.*$',
         'replace' => "https://archive.mozilla.org/pub/firefox/releases/"; ),
 
+ array( 'pkg'     => 'inih-r',
+        'match'   => '^.*$',
+        'replace' => "https://github.com/benhoyt/inih/releases"; ),
+
  array( 'pkg'     => 'libarchive',
         'match'   => '^.*$',
         'replace' => "https://github.com/libarchive/libarchive/releases"; ),
@@ -431,6 +436,9 @@
     return find_max( $lines, '/^.*libdbusmenu-qt [\d\.]+.*$/',
                              '/^.*libdbusmenu-qt ([\d\.]+).*$/' );
 
+  if ( $book_index == "inih-r" )
+    return find_max( $lines, '/version/', '/^.*version (\d+)$/' );
+
   if ( $book_index == "libsigc++" )
     return find_max( $lines, '/libsigc\+\+-2/', 
'/^.*libsigc\+\+-(2[\d\.]+).tar.*$/', TRUE );
 
-- 
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