Author: bdubbs
Date: Tue Dec 12 11:11:32 2017
New Revision: 19589
Log:
Update script for libpng
Modified:
trunk/scripts/blfs-chapter10.php
Modified: trunk/scripts/blfs-chapter10.php
==============================================================================
--- trunk/scripts/blfs-chapter10.php Sat Dec 9 14:33:30 2017 (r19588)
+++ trunk/scripts/blfs-chapter10.php Tue Dec 12 11:11:32 2017 (r19589)
@@ -20,7 +20,6 @@
$regex[ 'aalib' ] = "/^.*Download aalib-([\d\.]+rc\d).tar.*$/";
$regex[ 'libexif' ] = "/^.*Download libexif-(\d[\d\.]+\d).*$/";
$regex[ 'libmng' ] = "/^.*Download libmng-(\d[\d\.]+\d).tar.*$/";
-$regex[ 'libpng' ] = "/^.*Download libpng-(\d[\d\.]+\d).tar.*$/";
$regex[ 'LibRaw' ] = "/^.*LibRaw-(\d[\d\.]+\d).tar.*$/";
$regex[ 'poppler' ] = "/^.*poppler-([\d\.]+\d).tar.*$/";
$regex[ 'popplerdata' ] = "/^.*poppler-data([\d\.]+\d).tar.*$/";
@@ -90,7 +89,7 @@
array( 'pkg' => 'libpng',
'match' => '^.*$',
- 'replace' => "http://$sf/projects/libpng/files" ),
+ 'replace' => "http://www.libpng.org/pub/png/libpng.html" ),
array( 'pkg' => 'libwebp',
'match' => '^.*$',
@@ -250,6 +249,9 @@
if ( $book_index == "graphite2" )
return find_max( $lines, '/graphite2-/',
'/^.*graphite2-(\d\.[\d\.]+)\.tgz.*$/' );
+ if ( $book_index == "libpng" )
+ return find_max( $lines, '/libpng/', '/^.*libpng ([\d\.]+).*$/' );
+
if ( $book_index == "libjpeg-turbo" )
return find_max( $lines, '/files\//', '/^.*files\/([\d\.]+)\/.*$/' );
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page