This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/info/build.sh

23 lines
524 B
Bash

#!/bin/bash
export MACOSX_DEPLOYMENT_TARGET=10.9
export CMAKE_BUILD_TYPE=Debug
export CMAKE=$PREFIX/bin/cmake
export MAKE=$PREFIX/bin/make
export GENERATOR="-GNinja"
export PATH=$PREFIX/bin:$SYS_PREFIX/bin:$PATH
mkdir $PREFIX/conda
cd $PREFIX/conda
# The datarootdir option places the docs into a temp folder that won't
$CMAKE --build=. --target=install \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
$RECIPE_DIR/..
make -j install
# Remove the created lib64 directory
rm -rf $PREFIX/conda