ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Urlader/Makefile.PL
Revision: 1.2
Committed: Wed Jan 4 14:19:05 2012 UTC (12 years, 3 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rel-1_0, rel-0_2, rel-1_01, HEAD
Changes since 1.1: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 use ExtUtils::MakeMaker;
2
3 use 5.008;
4
5 if ((join ":", stat "urlader.c") eq (join ":", stat "Urlader.c")) {
6 print <<EOF;
7
8 ***
9 *** Non-POSIX filesystem detected, moved urlader.c to urlader-orig.c
10 ***
11
12 EOF
13 rename "urlader.c", "urlader-orig.c";
14 }
15
16 $LIBS = $^O eq "MSWin32" ? "-lshell32 -lshlwapi" : "";
17
18 WriteMakefile(
19 dist => {
20 PREOP => 'pod2text Urlader.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
21 COMPRESS => 'gzip -9v',
22 SUFFIX => '.gz',
23 },
24 depend => { "Urlader.c" => "urlib.h urlib.c liblzf/lzf_d.c liblzf/lzf_c_best.c" },
25 NAME => "Urlader",
26 VERSION_FROM => "Urlader.pm",
27 EXE_FILES => ["bin/urlader-util"],
28 LIBS => [$LIBS],
29 PREREQ_PM => {
30 common::sense => 0,
31 Win32::Exe => 0.17,
32 },
33 );