diff --git a/recipes/kmer-db/build.sh b/recipes/kmer-db/build.sh index 6a8bc644b0283..3ee7c78eed971 100644 --- a/recipes/kmer-db/build.sh +++ b/recipes/kmer-db/build.sh @@ -1,9 +1,8 @@ -#!/bin/bash +#!/bin/bash -euo +export CFLAGS="$CFLAGS -O3 -I${PREFIX}/include" +export LDFLAGS="$LDFLAGS -L${PREFIX}/lib" -CFLAGS="$CFLAGS -I${PREFIX}/include" -LDFLAGS="$LDFLAGS -L${PREFIX}/lib" - -make CC="${CXX}" +make CC="${CXX}" -j "${CPU_COUNT}" install -d "${PREFIX}/bin" -install kmer-db "${PREFIX}/bin" +install kmer-db "${PREFIX}/bin" diff --git a/recipes/kmer-db/meta.yaml b/recipes/kmer-db/meta.yaml index f8fca76dc2efc..99f6f5a3ff21f 100644 --- a/recipes/kmer-db/meta.yaml +++ b/recipes/kmer-db/meta.yaml @@ -1,35 +1,35 @@ -{% set version = "1.11.1" %} -{% set sha256 = "63886057a752a890f492bf4ca7ec97435eceebb4ac5ecb5664c69ae2736eaa80" %} - +{% set name = "kmer-db" %} +{% set version = "2.2.2" %} +{% set sha256 = "43264c2e132e543e32c9af3b115389a31e1c0c418428be26b7606100ae86e23d" %} package: - name: kmer-db + name: {{ name }} version: {{ version }} -build: - number: 2 - source: url: https://github.com/refresh-bio/kmer-db/archive/v{{ version }}.tar.gz sha256: {{ sha256 }} +build: + number: 0 + run_exports: + - {{ pin_subpackage('kmer-db', max_pin="x") }} + requirements: build: - make - {{ compiler('cxx') }} - - make host: - zlib - run: - - zlib + +test: + commands: + - "kmer-db > /dev/null" about: home: https://github.com/refresh-bio/kmer-db summary: "Kmer-db is a fast and memory-efficient tool for estimating evolutionary distances." - license: GPL-3 - license_family: GPL + license: "GPL-3.0-or-later" + license_family: GPL3 license_file: LICENSE - -test: - commands: - - kmer-db > /dev/null + dev_url: https://github.com/refresh-bio/kmer-db