summary refs log blame commit diff stats
path: root/data/pkgconfig/meson.build
blob: 3bacf30105830ef0602869b7f030459e96a38c8d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                        
pkg_conf = configuration_data()
prefix = get_option('prefix')
pkg_conf.set('prefix', prefix)
pkg_conf.set('VERSION', meson.project_version())
pkg_conf.set('hexchatlibdir', join_paths(prefix, plugindir))
pkg_conf.set('includedir', join_paths(prefix, get_option('includedir')))

configure_file(
  input: 'hexchat-plugin.pc.in',
  output: 'hexchat-plugin.pc',
  configuration: pkg_conf,
  install: true,
  install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
)