forked from bioconda/bioconda-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update rtk2 to 2.11.1 (bioconda#47437)
* 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
1 parent
830f3ea
commit 87992ec
Showing
2 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters