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

fasta3: support osx & remove unneeded zlib dependency #10251

Merged
merged 1 commit into from
Aug 3, 2018
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
6 changes: 4 additions & 2 deletions recipes/fasta3/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash

mkdir -pv ${PREFIX}/bin ${PREFIX}/share
export CFLAGS=-L${PREFIX}/lib
make -C src -f ../make/Makefile.linux_sse2 all
case $(uname) in
Darwin) make -C src -f ../make/Makefile.os_x86_64 all LIB_M='-lm' ;;
*) make -C src -f ../make/Makefile.linux_sse2 all LIB_M='-lm' ;;
esac
cp {bin/*36,bin/map_db,scripts/*.pl,misc/*.pl} ${PREFIX}/bin
cp -R {doc,data,seq} ${PREFIX}/share
11 changes: 0 additions & 11 deletions recipes/fasta3/libpath.patch

This file was deleted.

9 changes: 1 addition & 8 deletions recipes/fasta3/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,13 @@ package:
source:
url: http://faculty.virginia.edu/wrpearson/fasta/fasta36/fasta-{{ version }}g.tar.gz
sha256: {{ hash }}
patches:
- libpath.patch

build:
number: 3
skip: True # [osx]
number: 4

requirements:
build:
- {{ compiler('c') }}
host:
- zlib
run:
- zlib
test:
commands:
- fasta36 > /dev/null
Expand Down