{% set version = "1.31" %} 
{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

package:
  name: r-desolve
  version: {{ version|replace("-", "_") }}

source:
  url:
    - {{ cran_mirror }}/src/contrib/deSolve_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/deSolve/deSolve_{{ version }}.tar.gz
  sha256: 19d5919acb5791a3017c0e4f5bff124d08f8a0d5c9247462ae0deb4a4281fa19

build:
  merge_build_host: true  # [win]
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{ compiler('c') }}              # [not win]
    - {{ compiler('m2w64_c') }}        # [win]
    - {{ compiler('fortran') }}        # [not win]
    - {{ compiler('m2w64_fortran') }}  # [win]
    - {{ posix }}filesystem        # [win]
    - {{ posix }}make
    - {{ posix }}sed               # [win]
    - {{ posix }}coreutils         # [win]
    - {{ posix }}zip               # [win]
  host:
    - r-base
    - liblapack
    - libblas
  run:
    - r-base
    - {{ native }}gcc-libs         # [win]

test:
  commands:
    - $R -e "library('deSolve')"           # [not win]
    - "\"%R%\" -e \"library('deSolve')\""  # [win]

about:
  home: http://desolve.r-forge.r-project.org/
  license: GPL-2.0-or-later
  summary: Functions that solve initial value problems of a system of first-order ordinary differential equations ('ODE'), of partial differential equations ('PDE'), of differential algebraic equations ('DAE'), and of delay differential equations.  The functions provide an interface to the FORTRAN functions 'lsoda', 'lsodar',
    'lsode', 'lsodes' of the 'ODEPACK' collection, to the FORTRAN functions 'dvode', 'zvode' and 'daspk' and a C-implementation of solvers of the 'Runge-Kutta' family with fixed or variable time steps.  The package contains routines designed for solving 'ODEs' resulting from 1-D, 2-D and 3-D partial differential equations
    ('PDE') that have been converted to 'ODEs' by numerical differencing.
  license_family: GPL2
  license_file:
    - {{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2

extra:
  recipe-maintainers:
    - MathiasHaudgaard
    - FrodePedersen
    - ArneKr
    - conda-forge/r

# Package: deSolve
# Version: 1.24
# Title: Solvers for Initial Value Problems of Differential Equations ('ODE', 'DAE', 'DDE')
# Authors@R: c(person("Karline","Soetaert", role = c("aut"),  email = "karline.soetaert@nioz.nl", comment = c(ORCID = "0000-0003-4603-7100")), person("Thomas","Petzoldt", role = c("aut", "cre"), email = "thomas.petzoldt@tu-dresden.de", comment = c(ORCID = "0000-0002-4951-6468")), person("R. Woodrow","Setzer", role = c("aut"), email = "setzer.woodrow@epa.gov", comment = c(ORCID = "0000-0002-6709-9186")), person("odepack authors", role = "cph"))
# Author: Karline Soetaert [aut] (<https://orcid.org/0000-0003-4603-7100>), Thomas Petzoldt [aut, cre] (<https://orcid.org/0000-0002-4951-6468>), R. Woodrow Setzer [aut] (<https://orcid.org/0000-0002-6709-9186>), odepack authors [cph]
# Maintainer: Thomas Petzoldt <thomas.petzoldt@tu-dresden.de>
# Depends: R (>= 2.15.0)
# Imports: methods, graphics, grDevices, stats
# Suggests: scatterplot3d, FME
# Description: Functions that solve initial value problems of a system of first-order ordinary differential equations ('ODE'), of partial differential equations ('PDE'), of differential algebraic equations ('DAE'), and of delay differential equations.  The functions provide an interface to the FORTRAN functions 'lsoda', 'lsodar', 'lsode', 'lsodes' of the 'ODEPACK' collection, to the FORTRAN functions 'dvode', 'zvode' and 'daspk' and a C-implementation of solvers of the 'Runge-Kutta' family with fixed or variable time steps.  The package contains routines designed for solving 'ODEs' resulting from 1-D, 2-D and 3-D partial differential equations ('PDE') that have been converted to 'ODEs' by numerical differencing.
# License: GPL (>= 2)
# URL: http://desolve.r-forge.r-project.org/
# LazyData: yes
# NeedsCompilation: yes
# Packaged: 2019-07-14 12:21:14 UTC; thpe
# Repository: CRAN
# Date/Publication: 2019-07-15 13:50:03 UTC
