ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/Makefile.PL
Revision: 1.6
Committed: Fri Feb 28 17:33:09 2020 UTC (4 years, 2 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rel-1_71, rel-1_8, rel-1_7, HEAD
Changes since 1.5: +3 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 use ExtUtils::MakeMaker;
2
3 use Canary::Stability Convert::UUlib => 1;
4
5 sub MY::postamble {
6 my $postamble =<<'END';
7
8 uulib/Makefile:
9 cd uulib && ./configure --with-cc='$(CC)' --with-cflags='$(OPTIMIZE) $(CFLAGS) $(CCCDLFLAGS)'
10
11 clean::
12 -cd uulib && make distclean
13
14 force:
15
16 $(MYEXTLIB): uulib/Makefile uulib/uulib.c force
17 cd uulib && $(MAKE) all
18
19 END
20 }
21
22 WriteMakefile(
23 'dist' => {
24 PREOP => 'pod2text UUlib.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ; chmod -R u=rwX,go=rX . ;',
25 COMPRESS => 'gzip -9v',
26 SUFFIX => '.gz',
27 },
28 'NAME' => 'Convert::UUlib',
29 'VERSION_FROM' => 'UUlib.pm',
30 'MYEXTLIB' => 'uulib/libuu$(LIB_EXT)',
31 'LIBS' => [''],
32 'DEFINE' => '',
33 'INC' => '',
34 CONFIGURE_REQUIRES => {
35 "ExtUtils::MakeMaker" => 6.52,
36 "Canary::Stability" => 0,
37 },
38 PREREQ_PM => {
39 "common::sense" => 3.74,
40 },
41 );