diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-03-11 22:32:56 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-03-11 22:44:37 +0100 |
commit | 26a1b1f135772f186f01dbd2dc8569cd296d43f5 (patch) | |
tree | 6dd136e4887342465471f8b6f3d83520f1a59ae1 /dev-perl/Text-BibTeX | |
parent | dev-perl/Text-BibTeX: Remove old (diff) | |
download | gentoo-26a1b1f135772f186f01dbd2dc8569cd296d43f5.tar.gz gentoo-26a1b1f135772f186f01dbd2dc8569cd296d43f5.tar.bz2 gentoo-26a1b1f135772f186f01dbd2dc8569cd296d43f5.zip |
dev-perl/Text-BibTeX: Install libbtparse development headers, bug 599710
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Text-BibTeX')
-rw-r--r-- | dev-perl/Text-BibTeX/Text-BibTeX-0.780.0-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-perl/Text-BibTeX/Text-BibTeX-0.780.0-r1.ebuild b/dev-perl/Text-BibTeX/Text-BibTeX-0.780.0-r1.ebuild new file mode 100644 index 000000000000..7429ff619b2b --- /dev/null +++ b/dev-perl/Text-BibTeX/Text-BibTeX-0.780.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=AMBS +DIST_VERSION=0.78 +DIST_EXAMPLES=( "examples/*" "scripts/*" ) + +inherit perl-module + +DESCRIPTION="A Perl library for reading, parsing, and processing BibTeX files" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + !dev-libs/btparse + virtual/perl-Encode + virtual/perl-Scalar-List-Utils + virtual/perl-Unicode-Normalize +" +DEPEND="${RDEPEND} + >=dev-perl/Config-AutoConf-0.160.0 + >=dev-perl/ExtUtils-LibBuilder-0.20.0 + >=virtual/perl-ExtUtils-CBuilder-0.270.0 + >=dev-perl/Module-Build-0.360.300 + test? ( + >=dev-perl/Capture-Tiny-0.60.0 + ) +" +src_prepare() { + sed -i -e "/#include <stdio.h>/a #include <string.h>"\ + btparse/tests/{tex,purify,postprocess,name,macro}_test.c || die + perl-module_src_prepare +} + +src_install() { + perl-module_src_install + doheader btparse/src/btparse.h + doheader btparse/src/bt_config.h +} |