summaryrefslogtreecommitdiffstats
path: root/bindings/perl/Makefile.PL
blob: 5383d63e6f98c5cdce2b67ee45b27a0ccd9d614d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use 5;
use ExtUtils::MakeMaker;


if (not grep /^LIBS=/, @ARGV) {
	$LIBS=`pkg-config --libs lasso 2>&1`;
	die "pkg-config cannot find lasso" if $?;
}

WriteMakefile(
    NAME              => 'Lasso',
    VERSION           => $VERSION,
    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
      ( AUTHOR         => 'Benjamin Dauvergne <bdauvergne@entrouvert.com>') : ()),
    LIBS              => [ "$LIBS" ],
    MAKEFILE          => 'Makefile.perl',
);