blob: fa3380fd71ddccd1eb028909605f898e85dca2aa [file] [log] [blame]
#!/bin/bash
# Copyright 2016 The Chromium OS 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
v=$1
include_dir=$2
out=$3
sed \
-e "s/@BSLOT@/${v}/g" \
-e "s:@INCLUDE_DIR@:${include_dir}:g" \
"libarcnetwork-util.pc.in" > "${out}/libarcnetwork-util.pc"
sed \
-e "s/@BSLOT@/${v}/g" \
-e "s:@INCLUDE_DIR@:${include_dir}:g" \
"libpatchpanel-client.pc.in" > "${out}/libpatchpanel-client.pc"