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
|
use inc::Module::Install;
# if you are getting this from git repo, you need to have
# * Module::Install
# * Module::Install::AuthorTests
# * Module::Install::Repository
# * Module::Install::XSUtil
# installed
name 'File-MMagic-XS';
all_from 'lib/File/MMagic/XS.pm';
if ($^O eq 'MSWin32') {
print STDERR
"File::MMagic::XS does not compile on Windows\n",
"(patches welcome)\n"
;
exit 0;
}
use_ppport;
cc_warnings;
cc_src_paths 'src';
author_tests 'xt';
auto_set_repository;
WriteAll;
|