{% set name = "pgrouting" %}
{% set version = "2.6.0" %}
{% set sha256 = "9d12c0ea5f0fe9fef5b20e455ee07fc402736ecf6b6f69098df2e18db828e502" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://github.com/pgrouting/{{ name }}/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  script: 
    - mkdir build
    - cd build
    - cmake ..
    - make
    - make install

requirements:
  build:
    - postgis
    - cmake
    - toolchain
    - pkg-config
    - boost
  run:
    - postgis

test:

about:
  home: http://github.com/pgrouting/pgrouting
  license: GPL-2.0
  license_family: GPL
  license_file: LICENSE
  summary: 'pgRouting extends PostGIS/PostgreSQL geospatial database to provide geospatial routing and other network analysis functionality.'

  doc_url: https://docs.pgrouting.org
  dev_url: https://github.com/pgrouting/pgrouting

extra:
  recipe-maintainers:
    - sodre

Add initial recipe for pgrouting
Add initial recipe for pgrouting
