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

if ($ENV{MAKEFILE_NAME}) {
    symlink '.', 'lib';
    system("perl lib/MDK/Common.pm.pl > lib/MDK/Common.pm");
}

WriteMakefile(
    NAME          => 'MDK::Common',
    VERSION_FROM  => 'lib/MDK/Common.pm',
    ABSTRACT_FROM => 'lib/MDK/Common.pm',
    AUTHOR        => 'Pixel <pixel@mandriva.com>',
    $ENV{MAKEFILE_NAME} ? (
	MAKEFILE => $ENV{MAKEFILE_NAME},
	dist	 => { COMPRESS => "bzip2 -f" },
    ) : (),
);