diff --git a/resources/build.sh b/resources/build.sh deleted file mode 100755 index 72f244d59..000000000 --- a/resources/build.sh +++ /dev/null @@ -1,13 +0,0 @@ -#! /usr/bin/env bash - -mkdir -p ${PREFIX}/bin - -# compilation -g++ src/harpy/bin/extractReads.cpp -O3 -o ${PREFIX}/bin/extractReads - -# install harpy proper -${PYTHON} -m pip install . --no-deps -vvv - -# associated scripts -chmod +x src/harpy/bin/* -cp src/harpy/bin/* ${PREFIX}/bin/ diff --git a/resources/meta.yaml b/resources/meta.yaml index f03cfe942..e002472f1 100644 --- a/resources/meta.yaml +++ b/resources/meta.yaml @@ -17,6 +17,12 @@ build: - /lib64/libc.so.6 run_exports: - {{ pin_subpackage('harpy', max_pin="x.x") }} + script: | + mkdir -p ${PREFIX}/bin + "${CXX}" src/harpy/bin/extractReads.cpp -O3 -o ${PREFIX}/bin/extractReads + ${PYTHON} -m pip install . --no-deps -vvv + chmod +x src/harpy/bin/* + cp src/harpy/bin/* ${PREFIX}/bin/ requirements: build: