mirror of https://github.com/pyodide/pyodide.git
24 lines
523 B
YAML
24 lines
523 B
YAML
package:
|
|
name: libmpfr
|
|
version: 4.1.0
|
|
|
|
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
|