#!/bin/bash | |
# Copyright 2022 The Chromium Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
set -e | |
set -x | |
set -o pipefail | |
PREFIX="$1" | |
DEPS_PREFIX="$2" | |
mkdir build | |
./configure --prefix=`pwd`/build | |
make -j $(nproc) install | |
cp build/bin/xxd $PREFIX |