BLD Add DISTDIR variable. ### Description

Adds `DISTDIR` env variable that points to the directory where libraries should be copied to when building shared libraries with recipe.

### Checklists

- [x] Add new / update outdated documentation

package:
  name: glpk
  version: "5.0"

source:
  sha256: 4a1013eebb50f728fc601bdd833b0b2870333c3b3e5a816eeba921d95bec6f15
  url: https://ftp.gnu.org/gnu/glpk/glpk-5.0.tar.gz

build:
  type: static_library
  script: |
    CFLAGS="-fPIC" emconfigure ./configure \
      --prefix=${WASM_LIBRARY_DIR} \
      --disable-dependency-tracking \
      --disable-shared \
      --enable-static
    emmake make -j ${PYODIDE_JOBS:-3}
    emmake make install

package:
  name: glpk
  version: "5.0"

source:
  sha256: 4a1013eebb50f728fc601bdd833b0b2870333c3b3e5a816eeba921d95bec6f15
  url: https://ftp.gnu.org/gnu/glpk/glpk-5.0.tar.gz

build:
  type: static_library
  script: |
    CFLAGS="-fPIC" emconfigure ./configure \
      --prefix=${WASM_LIBRARY_DIR} \
      --disable-dependency-tracking \
      --disable-shared \
      --enable-static
    emmake make -j ${PYODIDE_JOBS:-3}
    emmake make install
