Skip to content

Commit

Permalink
Build poa on osx (bioconda#52699)
Browse files Browse the repository at this point in the history
* Build poa on osx

* Update pscores.patch

* Update pscores.patch

* Update meta.yaml
  • Loading branch information
mencian authored Dec 10, 2024
1 parent 8f6dd6a commit 13a41eb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
11 changes: 6 additions & 5 deletions recipes/poa/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
mkdir -p $PREFIX/bin
mkdir -p $PREFIX/lib

make poa CC=$CC CXX=$CXX CFLAGS="$CFLAGS -fcommon -DUSE_WEIGHTED_LINKS -DUSE_PROJECT_HEADER -I."

cp poa $PREFIX/bin
cp make_pscores.pl $PREFIX/bin
cp liblpo.a $PREFIX/lib
make poa CC="$CC" CXX="$CXX" \
CFLAGS="$CFLAGS -O3 -Wno-implicit-function-declaration -Wno-format -fcommon -DUSE_WEIGHTED_LINKS -DUSE_PROJECT_HEADER -I." \
-j"${CPU_COUNT}"

install -v -m 0755 poa $PREFIX/bin
install -v -m 0755 make_pscores.pl $PREFIX/bin
cp -rf liblpo.a $PREFIX/lib
23 changes: 17 additions & 6 deletions recipes/poa/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{% set name = "poa" %}
{% set version = "2.0" %}

package:
name: poa
version: "2.0"
name: {{ name }}
version: {{ version }}

build:
number: 5
skip: True # [osx]
number: 6
run_exports:
- {{ pin_subpackage('poa', max_pin="x") }}

source:
md5: 9e2eb270d4867114406f53dab1311b2b
url: https://downloads.sourceforge.net/project/poamsa/poamsa/2.0/poaV2.tar.gz
sha256: d98d8251af558f442d909a6527694825ef6f79881b7636cad4925792559092c2
patches:
- pscores.patch

Expand All @@ -25,5 +29,12 @@ test:

about:
home: 'https://sourceforge.net/projects/poamsa'
license: GPLv2
license: "GPL-2.0-or-later"
license_family: GPL
summary: "POA is Partial Order Alignment, a fast program for multiple sequence alignment in bioinformatics. Its advantages are speed, scalability, sensitivity, and the superior ability to handle branching / indels in the alignment."
dev_url: 'https://sourceforge.net/projects/poamsa'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64

0 comments on commit 13a41eb

Please sign in to comment.