forked from cnangel/Conf-Libconfig
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.PL
28 lines (27 loc) · 1.09 KB
/
Makefile.PL
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 strict;
use lib '.';
use inc::Module::Install;
#use Devel::CheckLib qw(check_lib_or_exit);
name 'Conf-Libconfig';
license 'bsd';
author 'Cnangel <[email protected]>';
all_from 'lib/Conf/Libconfig.pm';
#requires 'ExtUtils::XSBuilder' => 0;
#requires 'Cwd' => 1.00;
#requires 'File::Find' => 1.00;
requires 'XSLoader' => 0.05;
test_requires 'Test::Deep' => 0.10;
test_requires 'Test::More' => 0.90;
test_requires 'Test::Warn' => 0.20;
test_requires 'Test::Exception' => 0.25;
#test_requires 'Test::Spelling' => 0.10;
#check_lib_or_exit lib => [qw(config)];
checklibs lib => [qw(config)], header => [qw(libconfig.h)];
cc_inc_paths '/usr/include', '/usr/local/include';
cc_lib_paths '/usr/lib' , '/usr/lib64', '/usr/local/lib', '/usr/local/lib64';
cc_lib_links 'config';
can_cc or die 'This module requires C compiler.';
no_index directory => qw(t inc);
auto_install();
repository 'http://github.com/cnangel/Conf-Libconfig';
WriteAll();