diff --git a/pkgs/firefox.yaml b/pkgs/firefox.yaml new file mode 100644 index 000000000..61486896b --- /dev/null +++ b/pkgs/firefox.yaml @@ -0,0 +1,24 @@ +extends: [base_package, libflags] + +dependencies: + build: [python, gtk2] + +sources: +- key: tar.bz2:sxdyt4xrohcmppmdfgm2ek72srq2yr52 + url: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/31.0/source/firefox-31.0.source.tar.bz2 + +build_stages: +- name: make + handler: bash + bash: | + mkdir build2 # the 'build' directory already exists, so we name it 'build2' + cd build2 + export SHELL=/bin/bash + ../configure --prefix=$ARTIFACT + make -j ${HASHDIST_CPU_COUNT} + +- name: install + after: make + handler: bash + bash: | + make install