the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: udunits2
Version: 2.1.22
Revision: 2
Maintainer: Alexander Hansen
BuildDepends: expat1, fink-package-precedence
Depends: %N-shlibs (= %v-%r), expat1-shlibs
Source: ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-%v.tar.gz
Source-MD5: 2306641d84113f88e29bf828cac0ccdf
SetCC: gcc
SetCPPFLAGS: -Df2cFortran
ConfigureParams: --disable-static --docdir=%p/share/doc/%N
CompileScript: <<
./configure %c
make
make info
fink-package-precedence .
<<
InstallScript: <<
mkdir -p %i/share/info
mkdir -p %i/share/doc/%N
make -j1 install DESTDIR=%d
install *.info %i/share/info
<<
DocFiles: ANNOUNCEMENT CHANGE_LOG LICENSE %N.html %N.pdf
InfoDocs: %n.info %{n}lib.info %{n}prog.info
Description: Manipulation units of physical quantities
DescPackaging: <<
Decided not just to use the "udunits" name, since this version builds
shared libraries out of the box, and none of its files actually overlap
with the prior version's.
Hand-install info docs in Fink-Approved(TM) location
<<
DescDetail: <<
The UDUNITS-2 package provides support for units of physical quantities.
Its three main components are:
1) a C library for units of physical quantities;
2) a utility; for obtaining the definition of a unit and for
converting numeric values between compatible units; and
3) an extensive database of units.
<<
License: OSI-Approved
Homepage: http://www.unidata.ucar.edu/packages/udunits/
Splitoff: <<
Depends: expat1-shlibs
Package: %N-shlibs
Description: Manipulation units of physical quantities (shared libs)
Files: lib/lib%N.0*.dylib
Shlibs: %p/lib/lib%N.0.dylib 2.0.0 %n (>= 2.1.22-1)
DocFiles: ANNOUNCEMENT CHANGE_LOG LICENSE
<<
Splitoff2: <<
Package: %N-dev
Conflicts: udunits-dev
Replaces: udunits-dev, udunits
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: true
Description: Manipulation units of physical quantities (headers)
Files: <<
include
lib/lib%N.la
lib/lib%N.dylib
<<
DocFiles: ANNOUNCEMENT CHANGE_LOG LICENSE
<<