# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup Unidata UDUNITS-2 2.2.25 v
maintainers {takeshi @tenomoto}
description Improved Unidata unit conversion libraray
The UDUNITS package supports units of physical quantities \
(e.g., meters, seconds). Specifically, it supports conversion \
between string and binary representations of units, \
arithmetic manipulation of units, and conversion of numeric values \
between compatible units. The UDUNIT-2 package differs from \
the original UDUNITS package in the following ways: \
support for non-ASCII characters, support for logarithmic units, \
persistent value converters, improved API, XML unit database, \
and no Fortran or Perl API.
homepage http://www.unidata.ucar.edu/software/udunits/
checksums rmd160 25e625b7449c36f695cb9fb9e5b8aced53ba8bd2 \
sha256 e7fb5627eef09b20ab786e3f3a52d59ad7840a478f75d9e6fb8f5661cfddea8c
worksrcdir UDUNITS-2-${version}
xinstall -d ${destroot}${prefix}/include/${name}
foreach f [glob ${destroot}${prefix}/include/*.h] {
file rename ${f} ${destroot}${prefix}/include/${name}
ln -s ${prefix}/include/${name}/${name}.h ${destroot}${prefix}/include/${name}/udunits.h