summaryrefslogtreecommitdiffstats
path: root/perl/Makefile.PL.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-26 18:09:28 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-26 18:09:28 +0300
commitcfb5348f75790ef694edd5a9c131890eeceec204 (patch)
tree55c6bc5ff03a346ced6008dcae0a70ba6b36fb32 /perl/Makefile.PL.in
parent5d77f4552b6e39ab1072d2c91b219dac2498ac88 (diff)
downloadrspamd-cfb5348f75790ef694edd5a9c131890eeceec204.tar.gz
rspamd-cfb5348f75790ef694edd5a9c131890eeceec204.zip
* Completely rewrite and reorganize perl API
* Add documentation for Mail::Rspamd * Add install targets to cmake --HG-- rename : perl/rspamd.pm => perl/Rspamd.pm rename : perl/rspamd.xs => perl/Rspamd.xs
Diffstat (limited to 'perl/Makefile.PL.in')
-rw-r--r--perl/Makefile.PL.in16
1 files changed, 14 insertions, 2 deletions
diff --git a/perl/Makefile.PL.in b/perl/Makefile.PL.in
index 502e84227..0d70d4270 100644
--- a/perl/Makefile.PL.in
+++ b/perl/Makefile.PL.in
@@ -1,9 +1,21 @@
use ExtUtils::MakeMaker;
WriteMakefile(
- NAME => 'rspamd',
- VERSION_FROM => 'rspamd.pm', # finds $VERSION
+ NAME => 'Mail::Rspamd',
+ AUTHOR => 'Vsevolod Stakhov <vsevolod@rambler-co.ru>',
+ XS => { 'Rspamd.xs' => 'Rspamd.c' },
+ VERSION_FROM => 'Rspamd.pm', # finds $VERSION
LIBS => ['${GLIB_LDFLAGS} ${GMIME_LDFLAGS} -levent'], # e.g., '-lm'
DEFINE => '',
INC => '${GLIB_CFLAGS} ${GMIME_CFLAGS}',
+ PM => { 'Rspamd.pod' => '$(INST_LIBDIR)/Rspamd.pod',
+ 'Rspamd.pm' => '$(INST_LIBDIR)/Rspamd.pm'},
+ depend => {
+ 'Rspamd.so' => 'Rspamd.o',
+ 'Rspamd.o' => 'Rspamd.c',
+ 'Rspamd.c' => qw{
+Rspamd/ContentType.xs Rspamd/Part.xs Rspamd/Hash.xs
+Rspamd/InternetAddress.xs Rspamd/Message.xs Rspamd/Object.xs
+},
+ },
);