package:
  name: beagle-lib
  version: '2.1.2'

source:
  fn: beagle_release_2_1_2.tar.gz
  url: https://github.com/beagle-dev/beagle-lib/archive/beagle_release_2_1_2.tar.gz
  md5: 1107614e86f652f8ee45c1c92f2af3d4
  patches: # [osx]
    - osx_jni.patch # [osx]

build:
  number: 2

requirements:
  build:
    - gcc # [linux]
    - llvm # [osx]
    - autoconf 2.69 pl5.*
    - automake 1.15 pl5.*
    - libtool
    - openjdk
  run:
    - openjdk
    - libgcc # [linux]

test:
  commands:
    - test -f ${PREFIX}/lib/libhmsbeagle-jni.so # [linux]
    - test -f ${PREFIX}/lib/libhmsbeagle-jni.jnilib # [osx]

about:
  home: "https://github.com/beagle-dev/beagle-lib"
  license: "GPLv3+"
  summary: "general purpose library for evaluating the likelihood of sequence evolution on trees"

package:
  name: beagle-lib
  version: '2.1.2'

source:
  fn: beagle_release_2_1_2.tar.gz
  url: https://github.com/beagle-dev/beagle-lib/archive/beagle_release_2_1_2.tar.gz
  md5: 1107614e86f652f8ee45c1c92f2af3d4
  patches: # [osx]
    - osx_jni.patch # [osx]

build:
  number: 3

requirements:
  build:
    - gcc # [linux]
    - llvm # [osx]
    - autoconf 2.69 pl5.*
    - automake 1.15 pl5.*
    - libtool
    - openjdk
  run:
    - openjdk
    - libgcc # [linux]
    - libtool # [linux]

test:
  commands:
    - test -f ${PREFIX}/lib/libhmsbeagle-jni.so # [linux]
    - test -f ${PREFIX}/lib/libhmsbeagle-jni.jnilib # [osx]

about:
  home: "https://github.com/beagle-dev/beagle-lib"
  license: "GPLv3+"
  summary: "general purpose library for evaluating the likelihood of sequence evolution on trees"

Add libtool to linux run requirements.
Add libtool to linux run requirements.
