kind: manual
depends:
- foundation.bst
- glib-common.bst
- network-security.bst
- python2-core.bst
sources:
- kind: git
  url: upstream:mozilla/mozjs17
  track: baserock/gnome
  ref: 1c1080f592d4a0005c1765c870f314b3475825ae
config:
  configure-commands:
  - |
    cd js/src;
    ./configure --prefix="%{prefix}" \
                --sysconfdir=/etc \
                --with-system-nspr \
                --with-system-ffi \
                --enable-threadsafe
  build-commands:
  - |
    cd js/src;
    make
  install-commands:
  - cd js/src; make DESTDIR="%{install-root}" install
