summaryrefslogtreecommitdiffstats
path: root/src/perl/common/meson.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
commitfff5217f02d91268ce90c8c05665602c059faaef (patch)
tree2ba24d32dc96eafe7ed0a85269548e76796d849d /src/perl/common/meson.build
parentInitial commit. (diff)
downloadirssi-fff5217f02d91268ce90c8c05665602c059faaef.tar.xz
irssi-fff5217f02d91268ce90c8c05665602c059faaef.zip
Adding upstream version 1.4.5.upstream/1.4.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/perl/common/meson.build')
-rw-r--r--src/perl/common/meson.build40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/perl/common/meson.build b/src/perl/common/meson.build
new file mode 100644
index 0000000..4162756
--- /dev/null
+++ b/src/perl/common/meson.build
@@ -0,0 +1,40 @@
+
+libperl_Irssi_a = shared_module('Irssi',
+ [ xsubpp.process(
+ files(
+ 'Channel.xs',
+ 'Core.xs',
+ 'Expando.xs',
+ 'Ignore.xs',
+ 'Irssi.xs',
+ 'Log.xs',
+ 'Masks.xs',
+ 'Query.xs',
+ 'Rawlog.xs',
+ 'Server.xs',
+ 'Settings.xs',
+ )
+ ) ]
+ + files(
+ 'module.h',
+ )
+ + [ irssi_version_h ],
+ name_prefix : '',
+ name_suffix : perl_module_suffix,
+ install : true,
+ install_dir : perlmoddir / 'auto' / 'Irssi',
+ include_directories : rootinc,
+ implicit_include_directories : true,
+ dependencies : dep + [ perl_dep ],
+ link_with : dl_cross_perl_core,
+)
+
+install_headers(
+ files(
+ 'Irssi.pm',
+ ),
+ install_dir : perlmoddir,
+)
+
+# 'Makefile.PL.in',
+# 'typemap',