Text::Markdown::Discount
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
900 B

use 5.008000;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
sub MY::postamble {
return <<'MAKE_FRAG';
$(MYEXTLIB):
(cd ext; make libpeg_markdown.$(DLEXT))
MAKE_FRAG
}
WriteMakefile(
NAME => 'Text::Markdown::PegMarkdown',
VERSION_FROM => 'lib/Text/Markdown/PegMarkdown.pm', # finds $VERSION
PREREQ_PM => {}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/Text/Markdown/PegMarkdown.pm', # retrieve abstract from module
AUTHOR => 'Masayoshi Sekimura <sekimura@cpan.org>') : ()),
LIBS => [`pkg-config --libs glib-2.0`],
INC => '`pkg-config --cflags glib-2.0` -Ipeg-markdown',
MYEXTLIB => 'ext/libpeg_markdown.$(DLEXT)',
);