Commit a14a4135 authored by Emmanuelle Sarrazin's avatar Emmanuelle Sarrazin

BUG: Correct muparserx recipe

parent 415c80de
#!/usr/bin/env bash
#!/usr/bin/env bash
set +x
set -e # Abort on error
[[ -d build ]] || mkdir build
cd build
echo "Current work directory: $(pwd)"
echo "BUILD_PREFIX: ${BUILD_PREFIX}"
echo "PREFIX: ${PREFIX}"
export CMAKE_LIBRARY_PATH=${BUILD_PREFIX}/lib:${CMAKE_LIBRARY_PATH}
export CMAKE_INCLUDE_PATH=${BUILD_PREFIX}/include:${CMAKE_INCLUDE_PATH}
export CMAKE_LIBRARY_PATH=${BUILD_PREFIX}/${HOST}/sysroot/usr/lib:${CMAKE_LIBRARY_PATH}
if [[ $target_platform =~ linux.* ]]; then
export LDFLAGS="$LDFLAGS -Wl,-rpath-link,${PREFIX}/lib"
fi
CC=${BUILD_PREFIX}/bin/${HOST}-gcc CXX=$BUILD_PREFIX/bin/${HOST}-g++ \
cmake -D CMAKE_INSTALL_PREFIX=$PREFIX -DBUILD_SHARED_LIBS:BOOL=ON ..
cmake -G "Ninja" \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_EXAMPLES:BOOL=OFF ..
ninja install
......@@ -5,9 +5,6 @@ package:
version: {{ version }}
source:
#git_url: https://github.com/beltoforion/muparserx.git
#git_rev: v{{ version }}
fn: v{{ version }}.zip
url: https://github.com/beltoforion/muparserx/archive/v{{ version }}.zip
sha256: 9fe55c43c2298875fdda9da49c273bdfb42245cf2cb2ad77d5cb40eaf7a83f09
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment