Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/10.4-EOL/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv1814
Added Files:
xraylib-gfortran.info xraylib.info xraylib-oct.info
Log Message:
sync. w/ 10.!4/stable, validated on powerpc-darwin8
--- NEW FILE: xraylib-gfortran.info ---
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 <[email protected]>
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)
<<
--- NEW FILE: xraylib.info ---
Package: xraylib
Version: 2.15.0
Revision: 2
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, pkgconfig, swig
Depends: %n-shlibs (=%v-%r)
Source: https://github.com/downloads/tschoonj/%N/%N-%v.tar.gz
Source-MD5: 710d88bd367184cb27850f597374f9ec
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 gcc46 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.
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)
<<
--- NEW FILE: xraylib-oct.info ---
Info2: <<
Package: xraylib-oct%type_pkg[oct]
Version: 1.0.8
Type: oct (3.0.5 3.2.4), forge (xraylib)
Revision: 1
Maintainer: Alexander Hansen <[email protected]>
# unfortunately, Homepage won't do types
Homepage: http://octave.sourceforge.net/xraylib/index.html
Description: Xraylib bindings for Octave
DescDetail: <<
Bindings to the Xraylib functions
This package provides the following functions:
<<
License: GPL
# default source
# Source:
http://voxel.dl.sourceforge.net/sourceforge/octave/%type_raw[forge]-%v.tar.gz
# this will redirect like a fiend, and then you can replace it with a one-hop:
Source:
mirror:sourceforge:octave/Octave%%20Forge%%20Packages/R2009-05-08/%type_raw[forge]-%v.tar.gz
# replacing "Individual Package Releases" with the relevant directory that you
get from the first
# Source above.
Source-MD5: 2a3d14aa3c3f714e8782a54593ee9129
# All octave-forge packages have to have the following BuildDepends:
# octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev,
# fftw3,
# ( %type_pkg[oct] = 305 ) hdf5.7-oldapi,
# ( %type_pkg[oct] != 305 ) hdf5.7
#
# Packages which serve only Octave-3.0.5 or only Octave > 3.0.5 need
# not use the conditional, of course.
BuildDepends: <<
octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev,
fftw3,
( %type_pkg[oct] = 305 ) hdf5.7-oldapi,
( %type_pkg[oct] != 305 ) hdf5.7,
xraylib
<<
Depends: <<
octave%type_pkg[oct] | octave%type_pkg[oct]-atlas,
xraylib-shlibs
<<
Conflicts: octave-forge
DescPackaging: <<
This package:
Normally rolls its own xraylib, but that wasn't working; building against an
external xraylib worked just fine.
Common for all octave-forge packages:
We read in postinst and prerm template scripts installed by octaveN and modify
them to use the name of this package because Octave's package manager can't
cope with non-literal arguments.
The Type: forge (pkgname) is used to minimize what needs to be changed when
using this .info file as a template, or when the package name contains
underscores.
<<
#### Insert required changes here ####
PatchScript: <<
perl -pi -e 's|-I\./xraylib/src|-I%p/include/xraylib|; \
s|-L\./xraylib/src|-L%p/lib|; \
s|.*inline||' src/Makefile
<<
######################################
# Do not change anything from this point down, unless absolutely necessary,
# since the foo-oct%type_pkg[oct] packages are designed to be built/installed
# in the same way.
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
SetLIBRARY_PATH: /usr/X11R6/lib:%p/lib
SetMAKEFLAGS: -j1
CompileScript: OCTAVE=%p/bin/octave-%type_raw[oct]
%p/share/octave/%type_raw[oct]/scripts/octave-forge-compile.sh
%type_raw[forge]-%v
InstallScript: <<
#!/bin/sh -ev
%p/share/octave/%type_raw[oct]/scripts/octave-forge-install.sh
%type_raw[forge]-%v %i %b
mkdir -p %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
# copy template scripts
cp %p/share/octave/%type_raw[oct]/scripts/octave-forge-prerm
%p/share/octave/%type_raw[oct]/scripts/octave-forge-postinst
%i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
cd %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v
sed -i -e 's/@PKGNAME@/%type_raw[forge]-%v/' octave-forge-postinst
sed -i -e 's/@PKGNAME@/%type_raw[forge]/' octave-forge-prerm
chmod a+x octave-forge*
<<
PostInstScript: <<
if [ -s %p/var/octave/%type_raw[oct]/octave_packages ] && [ -f
%p/var/octave/%type_raw[oct]/octave_packages ]
then
%p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-postinst
else
mv
%p/share/octave/%type_raw[oct]/packages/%type_raw[forge]-%v/octave_packages
%p/var/octave/%type_raw[oct]/octave_packages
fi
<<
PreRmScript:
%p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-prerm
<<
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs