xraylib-gfortran stable port information

Package: xraylib-gfortran
Version: 2.15.0
Revision: 2

Description: X-ray fluorescence library (Fortran build)
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

License: BSD
Homepage: http://github.com/tschoonj/xraylib

BuildDepends: fink-package-precedence, gcc46-compiler, pkgconfig
Depends: %n-shlibs (=%v-%r), xraylib-shlibs (=%v-%r)

Source: https://github.com/downloads/tschoonj/xraylib/xraylib-%v.tar.gz
Source-MD5: 710d88bd367184cb27850f597374f9ec

UseMaxBuildJobs: false
BuildDependsOnly: true

ConfigureParams: <<
--disable-idl --disable-perl --disable-python --disable-java \
--disable-static
<<
CompileScript: <<
#!/bin/sh -ev
export FC=%p/bin/gfortran-fsf-4.6
%{default_script}
fink-package-precedence .
<<

InfoTest: TestScript: make check || exit 2

InstallScript: <<
#!/bin/sh -ev
make install DESTDIR=%d
pushd %i/include/xraylib
rm *.h
popd
pushd %i/lib
rm libxrl.{la,dylib,3.dylib}
cd pkgconfig
rm libxrl.pc
popd
rm -rf %i/share/xraylib
<<

DescPackaging: <<
Build the whole package and remove everything not related to the
Fortran bindings.

Keep Revision in sync with xraylib.info
<<

DocFiles: AUTHORS BUGS Changelog README TODO

SplitOff: <<
Package: %N-shlibs
Files: lib/libxrlf03.3.dylib
Shlibs: %p/lib/libxrlf03.3.dylib 6.0.0 %n (>=2.15.0-1)
DocFiles: AUTHORS BUGS Changelog README TODO
Description: X-ray fluorescence library (Fortran shlib)
<<