blob: 960d81e256bdc327fb37049d1eba73eef88655a5 [file] [log] [blame]
Alex Vakulenko89d9d5e2014-09-12 10:27:23 -07001#!/bin/bash
2# Copyright 2014 The Chromium OS Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6set -e
7
8OUT=$1
9v=$2
10
11deps=$(<"${OUT}"/gen/libbuffet-${v}-deps.txt)
12sed \
13 -e "s/@BSLOT@/${v}/g" \
14 -e "s/@PRIVATE_PC@/${deps}/g" \
15 "libbuffet/libbuffet.pc.in" > "${OUT}/lib/libbuffet-${v}.pc"