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

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