mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add perl-text-markdown-discount.
* gnu/packages/markdown.scm (perl-text-markdown-discount): New variable. * gnu/packages/patches/perl-text-markdown-discount-use-system-markdown.patch: New file.
This commit is contained in:
parent
31d3a7c729
commit
9d46919f9c
2 changed files with 78 additions and 0 deletions
|
@ -0,0 +1,32 @@
|
|||
Description: Use the markdown library provided by the libmarkdown2 package.
|
||||
Author: Alessandro Ghedini <al3xbio@gmail.com>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2012-01-01
|
||||
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -57,12 +57,6 @@
|
||||
|
||||
|
||||
|
||||
-sub MY::postamble {
|
||||
- return sprintf('
|
||||
-$(MYEXTLIB):
|
||||
- %s
|
||||
-', qq{( cd $extdir; CC='cc -fPIC' sh configure.sh; make )\n});
|
||||
-}
|
||||
|
||||
WriteMakefile(
|
||||
NAME => 'Text::Markdown::Discount',
|
||||
@@ -71,8 +65,6 @@
|
||||
($] >= 5.005 ?
|
||||
(ABSTRACT_FROM => 'lib/Text/Markdown/Discount.pm',
|
||||
AUTHOR => 'Masayoshi Sekimura <sekimura@cpan.org>') : ()),
|
||||
- LIBS => '-L' . $extdir,
|
||||
- INC => '-I. -I' . $extdir,
|
||||
- MYEXTLIB => $myextlib,
|
||||
- clean => { FILES => $clean_files },
|
||||
+ LIBS => '-lmarkdown',
|
||||
+ INC => '-I.',
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue