github.com/cellofellow/gopkg@v0.0.0-20140722061823-eec0544a62ad/apps/pkg-config/pc_test.go (about)

     1  // Copyright 2013 <chaishushan{AT}gmail.com>. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package main
     6  
     7  const tPcFile = `
     8  prefix=/usr/local
     9  exec_prefix=${prefix}
    10  includedir=${prefix}/include
    11  libdir=${exec_prefix}/lib
    12  
    13  Name: foo
    14  Description: The foo library
    15  Version: 1.0.0
    16  Cflags: -I${includedir}/foo
    17  Libs: -L${libdir} -lfoo
    18  `