mirror of https://github.com/pyodide/pyodide.git
15 lines
332 B
YAML
15 lines
332 B
YAML
package:
|
|
name: libyaml
|
|
version: 0.2.1
|
|
|
|
source:
|
|
url: https://github.com/yaml/libyaml/archive/0.2.1.zip
|
|
|
|
build:
|
|
library: true
|
|
script: |
|
|
CFLAGS="-fPIC" emcmake cmake -DCMAKE_INSTALL_PREFIX=.. .
|
|
emmake make -j ${PYODIDE_JOBS:-3}
|
|
ln -s libyaml-0.2.1/libyaml_static.a ../libyaml.a
|
|
ln -s libyaml-0.2.1/include ..
|