Libraries/udunits: added

This commit is contained in:
2019-01-17 12:32:59 +01:00
parent bfb8275b9a
commit 6b3efd14df
3 changed files with 33 additions and 0 deletions

16
Libraries/udunits/build Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env modbuild
pbuild::set_download_url "ftp://ftp.unidata.ucar.edu/pub/$P/$P-${V_PKG}.tar.gz"
pbuild::add_to_group 'Libraries'
pbuild::install_docfiles 'COPYRIGHT'
pbuild::install_docfiles 'ANNOUNCEMENT'
pbuild::install_docfiles 'CHANGE_LOG'
module use Libraries
pbuild::pre_configure() {
pbuild::add_configure_args "--disable-shared"
pbuild::add_configure_args "--with-pic"
}

View File

@@ -0,0 +1 @@
udunits/2.2.26 unstable libexpat/2.2.6

View File

@@ -0,0 +1,16 @@
#%Module1.0
module-whatis "arithmetic manipulation of units and conversion"
module-url "https://www.unidata.ucar.edu/software/udunits/"
module-license "open source, see $PREFIX/share/doc/libexpat/COPYRIGHT"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
The UDUNITS package supports units of physical quantities. Its C library
provides for arithmetic manipulation of units and for conversion of numeric
values between compatible units. The package contains an extensive unit
database, which is in XML format and user-extendable. The package also
contains a command-line utility for investigating units and converting
values.
"