Package: xraylib Version: 2.15.0 Revision: 4 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. << DescUsage: << The Octave Forge xraylib package is currently incompatible with xraylib-2.16.0, so this package exists to provide the ability to build that. << Maintainer: Alexander Hansen License: BSD Homepage: https://github.com/tschoonj/xraylib/wiki BuildDepends: fink-package-precedence, pkgconfig, swig Depends: %n-shlibs (=%v-%r) Conflicts: %N3 Replaces: %N3 Source: http://lvserver.ugent.be/xraylib/%N-%v.tar.gz Source-Checksum: SHA256(ce32549e6cbf3bbfab66dc2f840d9d0237a06b7440ca72ae70dddd8c4ad70d85) PatchScript: << # Patch configure to not link like Puma on Yosemite perl -pi.bak -e 's|10\.\[012\]\*|10.[012][,.]*|g' configure << UseMaxBuildJobs: false BuildDependsOnly: true GCC: 4.0 ConfigureParams: << --disable-idl --disable-perl --disable-python --disable-fortran2003 \ --disable-static << CompileScript: << %{default_script} fink-package-precedence . << InfoTest: TestScript: make check || exit 2 InstallScript: << make install DESTDIR=%d install_name_tool -id %p/share/%N/java/lib%N.jnilib %i/share/%N/java/lib%N.jnilib << DescPackaging: << 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. 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: lib/libxrl.3.dylib share/%N/*.txt Shlibs: %p/lib/libxrl.3.dylib 6.0.0 %n (>=2.13.1-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: share/%N/java Shlibs: %p/share/%N/java/lib%N.jnilib 0.0.0 %n (>=2.15.0-1) DocFiles: AUTHORS BUGS Changelog README TODO Description: X-ray fluorescence library (Java lib) <<