File: Makefile.PL

package info (click to toggle)
libfile-mmagic-xs-perl 0.09006-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 612 kB
  • sloc: perl: 1,870; ansic: 1,856; makefile: 7; xml: 1
file content (28 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (2)
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;