pyodide/packages/libmpfr/meta.yaml

25 lines
543 B
YAML
Raw Normal View History

package:
name: libmpfr
version: 4.1.0
tag:
- library
source:
url: https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.0.tar.xz
sha256: 06a378df13501248c1b2db5aa977a2c8126ae849a9d9b7be2546fb4a9c26d993
requirements:
host:
- libgmp
build:
type: static_library
script: |
emconfigure ./configure \
CFLAGS="-fPIC" \
--disable-dependency-tracking \
--disable-shared \
--with-gmp="${WASM_LIBRARY_DIR}" \
--prefix=${WASM_LIBRARY_DIR}
emmake make -j ${PYODIDE_JOBS:-3}
emmake make install