Skip to content

Commit

Permalink
tidk v0.2.63 (#50836)
Browse files Browse the repository at this point in the history
* tidk v0.2.62

* Remove v from version string.

* Add libssl-dev

* Add host openssl.

* Add OPENSSL_DIR to build.sh

* Move tidk to /bin

* Trying adding a few things

* Small edits.

* New version tidk without dir bug...
  • Loading branch information
Euphrasiologist authored Oct 3, 2024
1 parent 5ef9b97 commit 13a52b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 24 deletions.
19 changes: 1 addition & 18 deletions recipes/tidk/build.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,4 @@
#!/bin/bash -e

# taken from https://github.com/bioconda/bioconda-recipes/blob/25ee21573c577aa1ae899e0f7fbbc848d8a63865/recipes/longshot/build.sh

# this build script is taken from the rust-bio-tools recipe
# https://github.com/bioconda/bioconda-recipes/blob/master/recipes/rust-bio-tools/build.sh

# taken from yacrd recipe, see: https://github.com/bioconda/bioconda-recipes/blob/2b02c3db6400499d910bc5f297d23cb20c9db4f8/recipes/yacrd/build.sh
if [ "$(uname)" == "Darwin" ]; then

# apparently the HOME variable isn't set correctly, and circle ci output indicates the following as the home directory
export HOME="/Users/distiller"
export HOME=`pwd`

# according to https://github.com/rust-lang/cargo/issues/2422#issuecomment-198458960 removing circle ci default configuration solves cargo trouble downloading crates
#git config --global --unset url.ssh://git@git.luolix.top.insteadOf

fi

# build statically linked binary with Rust
C_INCLUDE_PATH=$PREFIX/include LIBRARY_PATH=$PREFIX/lib cargo install --path . --root $PREFIX
C_INCLUDE_PATH=$PREFIX/include OPENSSL_DIR=$PREFIX LIBRARY_PATH=$PREFIX/lib cargo install --verbose --path . --root "${PREFIX}"
14 changes: 8 additions & 6 deletions recipes/tidk/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "0.2.41" %}
{% set version = "0.2.63" %}

package:
name: tidk
Expand All @@ -10,22 +10,24 @@ build:
- {{ pin_subpackage('tidk', max_pin="x.x") }}

source:
url: https://github.com/tolkit/telomeric-identifier/archive/{{ version }}.tar.gz
sha256: 28cac3506d66ffc7ee37ff48a429663dde68aa23ba5d9b28ee0a6656aeea03d4
url: https://github.com/tolkit/telomeric-identifier/archive/v{{ version }}.tar.gz
sha256: d6ba68e693523cd74607e63739a75e4cdbb71a621928d22a8ab2e1bc470963f6

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('rust') }}
- cmake
- make
- rust >=1.52
- pkg-config # [osx]

host:
- openssl

test:
commands:
- tidk --help
- tidk --version
- tidk -h

about:
home: https://github.com/tolkit/telomeric-identifier
Expand Down

0 comments on commit 13a52b7

Please sign in to comment.