mirror of
https://github.com/NixOS/patchelf.git
synced 2025-10-15 12:17:49 +08:00
37 lines
705 B
Meson
37 lines
705 B
Meson
project(
|
|
'patchelf',
|
|
'cpp',
|
|
'c',
|
|
version : files('version'),
|
|
default_options : {
|
|
'cpp_std' : 'c++17',
|
|
'warning_level' : '2',
|
|
},
|
|
meson_version : '>=1.2',
|
|
)
|
|
|
|
subdir('src')
|
|
#subdir('tests') # TODO
|
|
|
|
install_man('patchelf.1')
|
|
|
|
#specfile = configure_file(
|
|
# output : 'patchelf.spec',
|
|
# configuration : {'PACKAGE_VERSION' : meson.project_version()},
|
|
#)
|
|
|
|
# Commented things out should only be for `meson dist`. Need to
|
|
# reimplement for that.
|
|
install_data(
|
|
'README.md',
|
|
#'COPYING',
|
|
#specfile,
|
|
#'version',
|
|
install_dir : get_option('datadir') / 'doc' / 'patchelf',
|
|
)
|
|
|
|
install_data(
|
|
'completions/zsh/_patchelf',
|
|
install_dir : get_option('datadir') / 'zsh' / 'site-functions',
|
|
)
|