Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/text
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22617
Added Files:
xmlstarlet.info xmlstarlet.patch
Log Message:
>From unstable based on feedback (what a concept!)
--- NEW FILE: xmlstarlet.patch ---
diff -Nurd -x'*~' xmlstarlet-0.9.3.orig/configure.in xmlstarlet-0.9.3/configure.in
--- xmlstarlet-0.9.3.orig/configure.in 2004-08-24 14:36:31.000000000 -0400
+++ xmlstarlet-0.9.3/configure.in 2004-08-24 14:40:36.000000000 -0400
@@ -18,78 +18,23 @@
;;
esac
-dnl
-dnl The following parameters offer
-dnl the ability to specify the location of the libxml
-dnl library during linking and compilation.
-dnl
-LIBXML_PREFIX="/usr"
-AC_ARG_WITH(libxml-prefix,
- [ --with-libxml-prefix=[PFX] Specify location of libxml],
- LIBXML_PREFIX=$withval
- LIBXML_CFLAGS="-I$withval/include/libxml2 -I$withval/include/libxml"
- LIBXML_LIBS="$withval/lib/libxml2.a -lz -lm -lpthread"
-)
-
-AC_ARG_WITH(libxml-include-prefix,
- [ --with-libxml-include-prefix=[PFX] Specify location of libxml headers],
- LIBXML_CFLAGS="-I$withval/libxml2 -I$withval/libxml -I$withval"
-)
-
-AC_ARG_WITH(libxml-libs-prefix,
- [ --with-libxml-libs-prefix=[PFX] Specify location of libxml libs],
- LIBXML_LIBS="$withval/libxml2.a -lz -lm -lpthread"
-)
-
-AC_ARG_WITH(libxml-src,
- [ --with-libxml-src=[DIR] For libxml thats not installed yet
(sets all three above)],
- LIBXML_SRC="$withval"
- LIBXML_LIBS="$withval/.libs/libxml2.a -lz -lm -lpthread"
- LIBXML_CFLAGS="-I$withval/include/libxml2 -I$withval/include/libxml
-I$withval/include"
-)
+LIBXML_PREFIX=`xml2-config --prefix`
+LIBXML_CFLAGS=`xml2-config --cflags`
+LIBXML_LIBS=`xml2-config --libs`
AC_DEFUN(VERSION_TO_NUMBER,
[`$1 | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ([$]1 *
1000 + [$]2) * 1000 + [$]3;}'`])
LIBXML_REQUIRED_VERSION=2.6.2
-if test "x$LIBXML_SRC" = "x"
-then
XMLVERS=`$LIBXML_PREFIX/bin/xml2-config --version`
if test VERSION_TO_NUMBER(echo $XMLVERS) -lt VERSION_TO_NUMBER(echo
$LIBXML_REQUIRED_VERSION); then
AC_MSG_ERROR(xmlstarlet needs at least libxml2 version 2.6.2
(http://www.xmlsoft.org/))
fi
-fi
-dnl
-dnl The following parameters offer
-dnl the ability to specify the location of the libxslt
-dnl library during linking and compilation.
-dnl
-LIBXSLT_PREFIX="/usr"
-AC_ARG_WITH(libxslt-prefix,
- [ --with-libxslt-prefix=[PFX] Specify location of libxslt],
- LIBXSLT_PREFIX=$withval
- LIBXSLT_CFLAGS="-I$withval/include/libxslt -I$withval/include/libexslt"
- LIBXSLT_LIBS="$withval/lib/libxslt.a $withval/lib/libexslt.a -lz -lm
-lpthread"
-)
-
-AC_ARG_WITH(libxslt-include-prefix,
- [ --with-libxslt-include-prefix=[PFX] Specify location of libxslt headers],
- LIBXSLT_CFLAGS="-I$withval/libxslt -I$withval/libexslt -I$withval"
-)
-
-AC_ARG_WITH(libxslt-libs-prefix,
- [ --with-libxslt-libs-prefix=[PFX] Specify location of libxslt libs],
- LIBXSLT_LIBS="$withval/libxslt.a $withval/libexslt.a -lz -lm -lpthread"
-)
-
-AC_ARG_WITH(libxslt-src,
- [ --with-libxslt-src=[DIR] For libxslt thats not installed yet
(sets all three above)],
- LIBXSLT_SRC="$withval"
- LIBXSLT_LIBS="$withval/libxslt/.libs/libxslt.a
$withval/libexslt/.libs/libexslt.a -lz -lm -lpthread"
- LIBXSLT_CFLAGS="-I$withval/libxslt -I$withval/libexslt -I$withval"
-)
+LIBXSLT_PREFIX=`xslt-config --prefix`
+LIBXSLT_CFLAGS=`xslt-config --cflags`
+LIBXSLT_LIBS="`xslt-config --libs` -lexslt"
LIBICONV_PREFIX="/usr"
AC_ARG_WITH(libiconv-prefix,
--- NEW FILE: xmlstarlet.info ---
Package: xmlstarlet
Version: 0.9.3
Revision: 1
Description: Command-line XML manipulation tool
DescDetail: <<
XMLStarlet is a set of command line utilities which can be used to
transform, query, validate, and edit XML documents and files using
simple set of shell commands in similar way it is done for plain text
files using UNIX grep, sed, awk, diff, patch, join, etc commands.
<<
DescPort: <<
OS X headers are pretty noisy under -pedantic so remove that flag.
./configure makes weird assumptions about pathnames and other flags
for libxml2 and libxslt (even when using the configure --with-* flags)
and tries to link them statically. Patch configure.in to just use the
*-config scripts (gets correct paths, flags, shared libs) and then
regenerate the ./configure script. Also need libexslt so just add that
-l explicitly (see libxslt FAQ).
Does not build easily under automake1.4
<<
Homepage: http://xmlstar.sourceforge.net/
License: OSI-Approved
Maintainer: Daniel Macks <[EMAIL PROTECTED]>
BuildDepends: libxml2 (>= 2.6.0-1), libxml2-bin (>= 2.6.0-1), libxslt, libiconv-dev,
autoconf2.5, automake1.5 | automake1.6 | automake1.7 | automake1.8
Depends: libxml2-shlibs (>= 2.6.0-1), libxslt-shlibs
Source: mirror:sourceforge:xmlstar/%n-%v.tar.gz
Source-MD5: 01e1618292188c4612cc186a10b6c3ab
Patch: %n.patch
ConfigureParams: --mandir='${prefix}/share/man' --infodir='${prefix}/share/info'
--with-libiconv-prefix=%p
CompileScript: <<
autoreconf -f -i
./configure %c
make
<<
InstallScript: <<
make install prefix=%i
<<
DocFiles: AUTHORS ChangeLog COPYING Copyright NEWS README TODO doc/xmlstarlet*.??*
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits