Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv5480
Added Files:
xraylib3.info
Log Message:
sync. w/ 10.!4/stable, validated on powerpc-darwin8
--- NEW FILE: xraylib3.info ---
Package: xraylib3
Version: 2.16.0
Revision: 1
Description: X-ray fluorescence library (build-time)
DescDetail: <<
X-ray matter interaction cross sections for X-ray fluorescence applications.
It is a C library with also Python, IDL, PERL and Fortran interfaces.
<<
Maintainer: Alexander Hansen <[email protected]>
License: BSD
Homepage: http://github.com/tschoonj/xraylib
BuildDepends: fink-package-precedence, lua51-dev, pkgconfig, swig
Depends: %n-shlibs (=%v-%r), lua51-shlibs
Conflicts: xraylib
Replaces: xraylib
Source: https://github.com/downloads/tschoonj/xraylib/xraylib-%v.tar.gz
Source-MD5: 317b462090f3b47775671555bca80851
UseMaxBuildJobs: false
BuildDependsOnly: true
GCC: 4.0
ConfigureParams: <<
--prefix=%p/opt/xraylib/%v \
--disable-idl --disable-perl --disable-python --disable-fortran2003 \
--disable-static
<<
PatchScript: <<
#!/bin/sh -ev
os=`uname -r | cut -d. -f1`
# check for 10.5 and 10.6 cases where the default architecture doesn't
# match Fink's
case $os in
# 10.4
8) sed -i.orig -e '/LUA_INCLUDE+=/s|+=|=|' configure ;;
# 10.5/x86_64
9) if [ "%m" = "x86_64" ] ; then jsubst=" -d64" ; fi ;;
# 10.6/i386
10) if [ "%m" = "i386" ] ; then jsubst=" -d32" ; fi ;;
# all others
*) jsubst="" ;;
esac
perl -pi -e "s/(JAVA\))/\1$jsubst/" example/Makefile.in
<<
CompileScript: <<
%{default_script}
fink-package-precedence .
<<
InfoTest: TestScript: make check || exit 2
InstallScript: <<
make install DESTDIR=%d
install_name_tool -id %p/opt/xraylib/%v/share/xraylib/java/libxraylib.jnilib
%i/opt/xraylib/%v/share/xraylib/java/libxraylib.jnilib
<<
DescPackaging: <<
Version 2.16.0 has a "Complex" struct in its public API which collides with
Octave's "Complex"
which is a typedef from std::complex<double>. Unfortunately, only the compat
version was
incremented, and not the libversion. We therefore introduce a new name and
install in
a private directory to allow coexistence with the library from version 2.15.0.
Disable IDL binding because I can't control whether folks have that or not.
Feel free to enable it locally :-)
Disable Python and Perl bindings to allow for multiple -pm and -py versions.
Disable Fortran bindings so that people can elect to build them if they need
them
rather than forcing them to install gcc4N if they don't.
Enable Java bindings because Java is included with the OS.
Builds the Lua binding if lua51 is installed, so require that as a dependency.
Use install_name_tool on the java lib so that it has an absolute install_name.
Patch examples/Makefile.in so that test 7 in the test suite uses the the same
architecture for the Java virtual machine as the Fink tree.
The text files are in the -shlibs package because they are used at runtime.
<<
DocFiles: AUTHORS BUGS Changelog README TODO
SplitOff: <<
Package: %N-shlibs
Files: opt/xraylib/%v/lib/libxrl.3.dylib
opt/xraylib/%v/share/xraylib/*.txt
Shlibs: %p/opt/xraylib/%v/lib/libxrl.3.dylib 7.0.0 %n (>=2.16.0-1)
DocFiles: AUTHORS BUGS Changelog README TODO
Description: X-ray fluorescence library (shared lib)
<<
SplitOff2: <<
Package: %N-java
Depends: system-java, %N-shlibs (= %v-%r)
Files: opt/xraylib/%v/share/xraylib/java
Shlibs: %p/opt/xraylib/%v/share/xraylib/java/libxraylib.jnilib 0.0.0 %n
(>=2.16.0-1)
DocFiles: AUTHORS BUGS Changelog README TODO
Description: X-ray fluorescence library (Java lib)
<<
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs