diff --git a/recipes/rtk2/build.sh b/recipes/rtk2/build.sh index 7961fbb423e85..0b901b830f550 100644 --- a/recipes/rtk2/build.sh +++ b/recipes/rtk2/build.sh @@ -1,15 +1,16 @@ -#!/bin/sh - +#!/bin/bash set -euxo pipefail + mkdir -p "$PREFIX"/bin -echo " Setting environment variables" +echo "Setting environment variables" # Fix zlib -export CFLAGS="$CFLAGS -I$PREFIX/include" +export CFLAGS="$CFLAGS -O3 -I$PREFIX/include" export LDFLAGS="$LDFLAGS -L$PREFIX/lib" -export CPATH=${PREFIX}/include +export C_INCLUDE_PATH=${PREFIX}/include echo "RUN MAKE" make test +chmod 755 rtk2 mv rtk2 "$PREFIX"/bin/ diff --git a/recipes/rtk2/meta.yaml b/recipes/rtk2/meta.yaml index 0aebea2760f7b..89654d1a8e8b7 100644 --- a/recipes/rtk2/meta.yaml +++ b/recipes/rtk2/meta.yaml @@ -1,12 +1,13 @@ -{% set version="2.10" %} -{% set name="rtk2" %} +{% set version = "2.11.1" %} +{% set name = "rtk2" %} + package: name: {{ name }} version: {{ version }} source: url: https://github.com/hildebra/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz - sha256: 310cd4bd124f6d976c1f11fdc6a38da2d362942e3ea82a560c0e64cf3f1a9679 + sha256: d816684a1a04f2a48ec2cf605ed33dc938baae01d509ed01e9d84565d54259cc build: number: 0 @@ -19,16 +20,16 @@ requirements: - {{ compiler('cxx') }} host: - zlib - run: - - zlib test: commands: - - {{ name }} -h - - {{ name }} --version | grep -w {{ version }} + - '{{ name }} -h' + #- '{{ name }} --version | grep -w "{{ version }}"' about: home: https://github.com/hildebra/rtk2/ - license: 'GPLv2' + license: 'GPL-2.0-or-later' + license_family: GPL license_file: LICENSE summary: 'rtk2 - a CLI rarefaction toolkit for OTU tables' + dev_url: https://github.com/hildebra/rtk2/