Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/text
In directory sc8-pr-cvs17:/tmp/cvs-serv14661

Added Files:
        html2text.info html2text.patch 
Log Message:
move to stable


--- NEW FILE: html2text.info ---
Package: html2text
Version: 1.3.2a
Revision: 1022
Description: Advanced HTML to text converter
License: GPL
Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]>
Source: ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/%n-%v.tar.gz
Source-MD5: 6097fe07b948e142315749e6620c9cfc
Patch: %n.patch
GCC: 4.0
SetCC: gcc-4.0
SetCXX: g++-4.0
NoSetCXXFLAGS: true
SetCXXFLAGS: -DAUTO_PTR_BROKEN=1
InstallScript: <<
  #!/bin/sh -ex
  INSTALL=install
  INSTALL_FILE="$INSTALL -p -m 644"
  INSTALL_PROGRAM="$INSTALL -p -m 755"
  INSTALL_DIR="$INSTALL -d -m 755"
  $INSTALL_DIR %i/bin \
               %i/share/man/man1 \
               %i/share/man/man5
  $INSTALL_PROGRAM html2text %i/bin
  gunzip html2text.1.gz
  $INSTALL_FILE html2text.1 %i/share/man/man1
  gunzip html2textrc.5.gz
  $INSTALL_FILE html2textrc.5 %i/share/man/man5
<<
DocFiles: CHANGES COPYING CREDITS INSTALL KNOWN_BUGS README TODO
DescDetail: <<
 html2text was written because the author wasn't happy with the
 output of "lynx -dump" and so he wrote something better.
<<
Homepage: http://userpage.fu-berlin.de/~mbayer/tools/html2text.html 

--- NEW FILE: html2text.patch ---
--- html2text-1.3.2a/configure.orig     Wed May 25 00:37:00 2005
+++ html2text-1.3.2a/configure  Wed May 25 00:37:04 2005
@@ -19,7 +19,7 @@
 # Tue Nov 11 21:30:26 CET 2003
 
 
-echo='/bin/echo -e'
+echo='/bin/echo'
 
 rm -rf configure-tmp || exit 1;
 mkdir configure-tmp || exit 1;
@@ -30,7 +30,7 @@
 # $CXX
 #
 
-$echo 'Checking C++ compiler... \c';
+$echo 'Checking C++ compiler... ';
 cat <<EOF >$tmp_file.C;
 #include <iostream>
 int main(int, char **) {
@@ -38,18 +38,21 @@
   return 0;
 }
 EOF
-CXX=unknown;
-for i in "CC" "g++" "cc" "$CC"; do
+our_CXX=unknown;
+for i in "$CXX $CXXFLAGS"; do
   if $i -c $tmp_file.C 2>/dev/null; then
-    CXX="$i";
+    echo "  ok $i";
+    our_CXX="$i";
     break;
+  else
+    echo "  no $i";
   fi;
 done;
+CXX=$our_CXX;
 if test "$CXX" = unknown; then
   $echo "Error: Could not find a working C++ compiler.";
   exit 1;
 fi;
-$echo "use \"$CXX\"";
 
 #
 # $SYS_POLL_MISSING


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to