Skip to content

Commit

Permalink
Update rtk2 to 2.11.1 (bioconda#47437)
Browse files Browse the repository at this point in the history
* Update rtk2 to 2.11

* Update rtk2 to 2.11.1

* edit build.sh

* edit meta.yaml

* edit meta.yaml

---------

Co-authored-by: Joshua Zhuang <[email protected]>
Co-authored-by: mencian <[email protected]>
  • Loading branch information
3 people authored Apr 25, 2024
1 parent 830f3ea commit 87992ec
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
11 changes: 6 additions & 5 deletions recipes/rtk2/build.sh
Original file line number Diff line number Diff line change
@@ -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/
17 changes: 9 additions & 8 deletions recipes/rtk2/meta.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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/

0 comments on commit 87992ec

Please sign in to comment.