Author: bdubbs
Date: Sun Jan  6 18:09:50 2019
New Revision: 20928

Log:
Add script for cbindgen

Modified:
   trunk/scripts/blfs-chapter13.php

Modified: trunk/scripts/blfs-chapter13.php
==============================================================================
--- trunk/scripts/blfs-chapter13.php    Sun Jan  6 17:30:32 2019        (r20927)
+++ trunk/scripts/blfs-chapter13.php    Sun Jan  6 18:09:50 2019        (r20928)
@@ -5,7 +5,7 @@
 
 $CHAPTER       = '13';
 $CHAPTERS      = 'Chapter 13';
-$START_PACKAGE = 'clisp';
+$START_PACKAGE = 'cbindgen';
 $STOP_PACKAGE  = 'junit';
 
 $renames = array();
@@ -95,6 +95,10 @@
           'match'   => '^ftp:\/\/ftp.gnome',
           'replace' => "http://ftp.gnome"; ),
 
+   array( 'pkg'     => 'cbindgen',
+          'match'   => '^.*$',
+          'replace' => "https://github.com/eqrion/cbindgen/releases"; ),
+
    array( 'pkg'     => 'check',
           'match'   => '^.*$',
           'replace' => "http://github.com/libcheck/check/releases"; ),
@@ -569,6 +573,9 @@
   if ( $package == "scour" )
     return find_max( $lines, "/v/", "/^.*v(\d[\d\.]*\d).*$/" );
 
+  if ( $package == "cbindgen" )
+    return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]*\d).*$/" );
+
   if ( $package == "expect" )
     return find_max( $lines, "/expect/", "/^.*expect(\d[\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