diff --git a/recipes/graphprot/build.sh b/recipes/graphprot/build.sh index 790826fc85fa9..43da79ba0f791 100644 --- a/recipes/graphprot/build.sh +++ b/recipes/graphprot/build.sh @@ -4,11 +4,6 @@ export CFLAGS="-I$PREFIX/include" export LDFLAGS="-L$PREFIX/lib" export CPATH=${PREFIX}/include -# set install paths -BIN=${CONDA_PREFIX}/bin/ -LIBEXEC=${CONDA_PREFIX}/libexec/graphprot/ -SHARE=${CONDA_PREFIX}/share/graphprot/ - # compile EDeN pushd . cd EDeN @@ -21,7 +16,7 @@ pytest # install mkdir -p $BIN $LIBEXEC $SHARE -cp $SRC_DIR/GraphProt.pl $BIN -cp $SRC_DIR/bin/* $LIBEXEC -r -cp $SRC_DIR/EDeN/EDeN $LIBEXEC -cp $SRC_DIR/data $SHARE -r +cp $SRC_DIR/GraphProt.pl ${PREFIX}/bin/ +cp -r $SRC_DIR/bin/* ${PREFIX}/libexec/graphprot/ +cp $SRC_DIR/EDeN/EDeN ${PREFIX}/libexec/graphprot/ +cp -r $SRC_DIR/data ${PREFIX}/share/graphprot/