Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trnascan-se: add aarch64/arm64 build #50996

Merged
merged 3 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions recipes/trnascan-se/build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
#!/bin/bash

export M4="${BUILD_PREFIX}/bin/m4"
export INCLUDE_PATH=${PREFIX}/include
export LIBRARY_PATH=${PREFIX}/lib
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
export CFLAGS="${CFLAGS} -O3 -I${PREFIX}/include ${LDFLAGS}"

sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' tRNAscan-SE.src
sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' src/instman.pl
rm -rf *.bak
rm -rf src/*.bak

autoreconf -if
./configure CC="${CC}" CFLAGS="${CFLAGS}" --prefix="${PREFIX}"

make
Expand Down
20 changes: 14 additions & 6 deletions recipes/trnascan-se/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{% set name = "tRNAscan-SE" %}
{% set version = "2.0.12" %}
{% set sha256 = "96fa4af507cd918c1c623763d9260bd6ed055d091662b44314426f6bbf447251" %}
{% set sha256 = "4b255c2c5e0255381194166f857ab2ea21c55aa7de409e201333ba615aa3dc61" %}

package:
name: {{ name|lower }}
version: {{ version }}

build:
number: 0
number: 1
run_exports:
- {{ pin_subpackage('trnascan-se', max_pin="x") }}

source:
url: http://trna.ucsc.edu/software/trnascan-se-{{ version }}.tar.gz
url: https://github.com/UCSC-LoweLab/tRNAscan-SE/archive/refs/tags/v{{ version }}.tar.gz
sha256: {{ sha256 }}
patches:
- patches/libdir.patch
Expand All @@ -21,6 +23,7 @@ requirements:
- make
- autoconf
- automake
- libtool
host:
- perl
run:
Expand All @@ -32,13 +35,18 @@ test:
- tRNAscan-SE -h

about:
home: "http://lowelab.ucsc.edu/tRNAscan-SE/"
license: GPLv3
home: "https://lowelab.ucsc.edu/tRNAscan-SE/"
license: "GPL-3.0-or-later"
license_family: GPL3
license_file: LICENSE
summary: tRNA detection in large-scale genomic sequences
doc_url: "http://lowelab.ucsc.edu/tRNAscan-SE/help.html"
doc_url: "https://lowelab.ucsc.edu/tRNAscan-SE/help.html"
dev_url: "https://github.com/UCSC-LoweLab/tRNAscan-SE"

extra:
identifiers:
- biotools:trnascan-se
- doi:10.1093/nar/gkab688
additional-platforms:
- linux-aarch64
- osx-arm64