File: Makefile.PL

package info (click to toggle)
libnet-libdnet-perl 0.98-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 412 kB
  • sloc: perl: 1,007; ansic: 311; makefile: 9
file content (26 lines) | stat: -rw-r--r-- 723 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
#
# $Id: Makefile.PL 57 2012-11-02 16:39:39Z gomor $
#
use ExtUtils::MakeMaker;

my $libs = qx{dumbnet-config --libs 2>/dev/null}
   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldumbnet'];

my $inc = qx{dumbnet-config --cflags 2>/dev/null}
   || '-I/include -I/usr/include -I/usr/local/include';

WriteMakefile(
   NAME          => 'Net::Libdnet',
   VERSION_FROM  => 'lib/Net/Libdnet.pm',
   LICENSE       => 'bsd',
   ABSTRACT_FROM => 'lib/Net/Libdnet.pm',
   AUTHOR        => 'GomoR <gomor-cpan_at_gomor.org>',
   LIBS          => $libs,
   INC           => $inc,
   DEFINE        => '',
   EXE_FILES     => [ @{[glob('bin/*.pl')]} ],
   PREREQ_PM     => {
      Class::Gomor => 0,
   },
   MIN_PERL_VERSION => '5.6.1',
);