2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 # Required fetch artifact
11 xz_src
=${MOZ_FETCHES_DIR}/xz-source
15 dest_dir
=${work_dir}/tmp-install
19 ${xz_src}/configure --prefix=/${tardir} CFLAGS=-O2 ${configure_flags_extra} || { exit_status=$? && cat config.log && exit $exit_status ; }
20 export MAKEFLAGS
=-j`nproc`
22 make DESTDIR
=${dest_dir} install
25 $
(dirname $0)/pack.sh
${tardir}