This file is indexed.

/usr/share/clam/sconstools/pc.py is in libclam-dev 1.4.0-7.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import os

pkgConfigTemplate = """\
name = @name@
prefix = @prefix@
libdir = ${prefix}/lib
includedir = ${prefix}/include

Name: ${name}
Description: @description@
Url: @url@
Version: @version@
Requires: @requires@
Conflicts: @conflicts@
Libs: -L${libdir} -l${name} @libs@
Cflags: -I${includedir} @cflags@
"""
def PkgConfigFile(env, package, version, prefix, description=None, url=None, requires=[], conflicts=[], cflags=[], libs=[]) :
	return env.Textfile(target = package,
		source = [env.Value(pkgConfigTemplate)],
		TEXTFILESUFFIX='.pc',
		SUBST_DICT=[
			('@prefix@', prefix ),
			('@name@', package ),
			('@version@', version ),
			('@description@', "C++ Framework for analysis, synthesis and transformation of music audio signals" ),
			('@url@', 'http://clam-project.org' ),
			('@requires@', ", ".join(requires) ),
			('@conflicts@', ", ".join(conflicts) ),
			('@cflags@', " ".join(cflags) ),
			('@libs@', " ".join(libs) ),
			]
		)

def generate(env) :
	try: env.Textfile
	except : env.Tool('textfile', toolpath=[os.path.dirname(__file__)])
	env.AddMethod(PkgConfigFile)

def exists(env) :
	return True