{% set version = "2.2.31" %}

package:
  name: libhdfs3
  version: "{{ version }}"

source:
    git_url: https://github.com/PivotalRD/libhdfs3.git
    git_tag: v{{ version }}

build:
  number: 0
  # This package is a dependency of hdfs3, which is primarily used with HDFS on Linux.
  skip: True  # [not linux]

requirements:
    build:
        - protobuf
        - libgsasl
        - libntlm
        - libxml2
        - krb5
        - libuuid
        - boost 1.60.*
        - cmake
    run:
        - protobuf
        - libgsasl
        - libntlm
        - libxml2
        - krb5
        - libuuid
        - boost 1.60.*

test:
  commands:
    - test -f $PREFIX/lib/libhdfs3.so

about:
  home: https://github.com/PivotalRD/libhdfs3
  license: Apache 2.0
  summary: A Native C/C++ HDFS Client

extra:
  recipe-maintainers:
    - koverholt

{% set version = "2.2.31" %}

package:
  name: libhdfs3
  version: "{{ version }}"

source:
  fn: libhdfs3-{{ version }}.tar.gz
  url: https://github.com/Pivotal-Data-Attic/pivotalrd-libhdfs3/archive/v{{ version }}.tar.gz
  sha256: b68d112a3c234a50f646071b1de07e5e191018f6762492cd04d57390e1fd5a16

build:
  number: 0
  # This package is a dependency of hdfs3, which is primarily used with HDFS on Linux.
  skip: True  # [not linux]

requirements:
  build:
    - protobuf
    - libgsasl
    - libntlm
    - libxml2
    - krb5
    - libuuid
    - boost 1.60.*
    - cmake
  run:
    - protobuf
    - libgsasl
    - libntlm
    - libxml2
    - krb5
    - libuuid
    - boost 1.60.*

test:
  commands:
    - test -f $PREFIX/lib/libhdfs3.so

about:
  home: https://github.com/PivotalRD/libhdfs3
  license: Apache 2.0
  summary: A Native C/C++ HDFS Client

extra:
  recipe-maintainers:
    - koverholt

Change source to git archive
Change source to git archive
