the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: xraylib-pm%type_pkg[perl]
Version: 2.15.0
Revision: 3
Type: perl (5.8.8 5.10.0)
Description: X-ray fluorescence library (Perl interface)
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: swig, fink-package-precedence
Depends: <<
xraylib-shlibs (>=%v-2),
perl%type_pkg[perl]-core
<<
Source: https://github.com/downloads/tschoonj/xraylib/xraylib-%v.tar.gz
Source-MD5: 710d88bd367184cb27850f597374f9ec
UseMaxBuildJobs: false
GCC: 4.0
UpdatePOD: True
PatchScript: <<
perl -pi -e 's|(.*PERL=)(\$\(PERL\))(.*INSTALL_BASE=)\$\(DESTDIR\)\$\(prefix\)(.*)|$1"$2"$3%p$4|' src/Makefile.in
<<
ConfigureParams: <<
--prefix=%p --disable-idl --disable-python --disable-java \
--disable-fortran2003 --disable-static
<<
CompileScript: <<
#!/bin/sh -ev
./configure %c
make
fink-package-precedence .
<<
InfoTest: TestScript: make check || exit 2
InstallScript: <<
%{default_script}
rm -rf %i/include
rm %i/lib/libxrl.{la,*dylib}
rm -rf %i/lib/pkgconfig
rm -rf %i/share/xraylib
<<
DescPackaging: <<
Appears to want to build the whole works, so we do that and then remove stuff
unrelated to the Perl bindings
<<
DocFiles: AUTHORS BUGS Changelog README TODO
#Info2
<<