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

Added Files:
        xerces-c.info xerces-c.patch 
Log Message:
move to stable to satisfy a dependency for something already in stable


--- NEW FILE: xerces-c.patch ---
diff -urN xerces-c-src_2_6_0-orig/samples/runConfigure 
xerces-c-src_2_6_0/samples/runConfigure
--- xerces-c-src_2_6_0-orig/samples/runConfigure        Fri Sep 10 09:52:24 2004
+++ xerces-c-src_2_6_0/samples/runConfigure     Mon Mar 14 09:38:18 2005
@@ -93,17 +93,18 @@
 transcoder=native        # by default use native transcoder
 thread=none              # by default no need to have threads
 bitsToBuild=32           # by default 32 bit build assumed
+configureoptions=""
 
 # Check the command line parameters
 if test -x /usr/bin/getopt; then
-   getoptErr=`getopt p:c:x:dr:b:l:z:h $*`
+   getoptErr=`getopt p:c:x:dr:b:l:z:C:h $*`
    if [ $? != 0 ]
       then
       usage
       exit ${ERROR_EXIT_CODE}
    fi
    # Now get the command line parameters
-   set -- `getopt p:c:x:dr:b:l:z:h $*`
+   set -- `getopt p:c:x:dr:b:l:z:C:h $*`
    while [ $# -gt 0 ]
       do
       case $1 in
@@ -131,6 +132,9 @@
       -l)
          linkeroptions="$linkeroptions $2"; shift 2;;
 
+      -C)
+        configureoptions="$configureoptions $2"; shift 2;;
+
       -h)
          usage
          exit ${ERROR_EXIT_CODE};;
@@ -145,7 +149,7 @@
       esac
    done
 else
-   while getopts "p:c:x:dr:b:l:z:h" switch; do
+   while getopts "p:c:x:dr:b:l:z:C:h" switch; do
       case $switch in
       p)
          platform=$OPTARG;;
@@ -191,6 +195,7 @@
 echo "bitsToBuild option: $bitsToBuild"
 echo "Extra compile options: $compileroptions"
 echo "Extra link options: $linkeroptions"
+echo "Extra configure options: $configureoptions"
 
 #
 # Now check if the options are correct or not, bail out if incorrect
@@ -495,11 +500,11 @@
 rm -f config.log
 rm -f config.status
 if test $platform = "os400"; then
-./configure --host AS400-OS400
+./configure --host AS400-OS400 $configureoptions
 elif test $platform = "ptx"; then
-./configure --prefix=$XMLINSTALL
+./configure --prefix=$XMLINSTALL $configureoptions
 else
-./configure
+./configure $configureoptions
 fi
 # exit if configure failed
 if test $? != 0; then
@@ -518,7 +523,7 @@
 echo export CFLAGS=\"$CFLAGS\"
 echo export LDFLAGS=\"$LDFLAGS\"
 echo export EXTRA_LIBS=\"$EXTRA_LIBS\"
-echo configure
+echo configure $configureoptions
 
 echo
 echo If the result of the above commands look OK to you, go to the directory

--- NEW FILE: xerces-c.info ---
Package: xerces-c
Version: 2.7.0
Revision: 1002
GCC: 4.0
Maintainer: Daniel Czarnecki <[EMAIL PROTECTED]>
License: BSD
Homepage: http://xml.apache.org/xerces-c/

Depends: %N-shlibs (= %v-%r)
Conflicts: xerces-c23
Replaces: xerces-c23

Source: 
http://archive.apache.org/dist/xml/xerces-c/source/xerces-c-src_2_7_0.tar.gz
Source-MD5: 04169609449a8846bc1e6891c04cadf4
#SourceDirectory: xerces-c-src_2_7_0
Patch: %n.patch

NoSetLDFLAGS: true
NoSetCPPFLAGS: true
SetLIBRARY_PATH: %p/lib
CompileScript: <<
 #!/bin/sh -ev
 export XERCESCROOT=%b CPATH=%p/include
 cd src/xercesc
 ./runConfigure -p macosx -n native -C "%c"
 make LD_SONAME="-install_name %p/lib/libxerces-c.27.dylib 
-compatibility_version %v -current_version %v"
 cd ../../samples
 ./runConfigure -p macosx -C "%c"
 make
<<
InstallScript: <<
 #!/bin/sh -ev
 export XERCESCROOT=%b
 echo Install samples
 mkdir -p %d/%p/bin
 cp -fp 
bin/{CreateDOMDocument,EnumVal,Redirect,SAXCount,StdInParse,DOMCount,MemParse,SAX2Count,SAXPrint,DOMPrint,PParse,SAX2Print,SEnumVal}
 %d/%p/bin
 echo Install docs
 mkdir -p %i/share/doc/%n-dev
 cp -Rfp doc/html %i/share/doc/%n-dev
 cd src/xercesc
 echo Install config.status
 mkdir -p %i/share/%n-dev
 cp -fp config.status %i/share/%n-dev
 echo make install
 make install DESTDIR=%d
<<
DocFiles: LICENSE*
SplitOff: <<
 Package: %N-shlibs
 Files: lib/libxerces-c.27.0.dylib lib/libxerces-c.27.dylib 
lib/libxerces-depdom.27.0.dylib lib/libxerces-depdom.27.dylib
 Shlibs: <<
  %p/lib/libxerces-c.27.dylib 2.7.0 %n (>= 2.7.0-1)
  %p/lib/libxerces-depdom.27.dylib 2.7.0 %n (>= 2.7.0-1)
 <<
 DocFiles: LICENSE*
<<
SplitOff2: <<
 Package: %N-dev
 Conflicts: xerces-c23-dev, %N-dev (<< %v-%r)
 Replaces: xerces-c23-dev, %N-dev (<< %v-%r)
 BuildDependsOnly: True
 Depends: %N-shlibs
 Files: include share/%N-dev lib share/doc/%N-dev
 DocFiles: LICENSE*
<<
Description: XML parser in C++
DescDetail: <<
 Xerces-C is a validating XML parser written in C++.  Xerces-C
 conforms with the XML-1.0 W3C recommendation.
<<
DescPackaging: <<
 The extensive documentation is in the -dev splitoff
 .
 The main package contains the sample applications, installed in bin.
 .
 If building the Perl XML::Xerces package (sold separately), it should
 set the following envvars:
   XERCESCROOT=%%p
   XERCES_CONFIG=%%p/share/%n-dev/config.status
<<
DescPort: <<
 Patched samples/runConfigure to support a -C flag just like
 src/xercesc/runConfigure
<<



-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to