diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-18 07:47:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-18 07:47:30 +0100 |
commit | def1d9264911de9f80db5165882084b0d66c9208 (patch) | |
tree | ef3e26d68bba8ecff4d26e39eab07bed5432ecde /dev-perl/Text-BibTeX/Text-BibTeX-0.890.0.ebuild | |
parent | 81ab1a4db30480fdfb51d6e784b0f3ad9bbe2432 (diff) |
gentoo auto-resync : 18:06:2023 - 07:47:30
Diffstat (limited to 'dev-perl/Text-BibTeX/Text-BibTeX-0.890.0.ebuild')
-rw-r--r-- | dev-perl/Text-BibTeX/Text-BibTeX-0.890.0.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-perl/Text-BibTeX/Text-BibTeX-0.890.0.ebuild b/dev-perl/Text-BibTeX/Text-BibTeX-0.890.0.ebuild new file mode 100644 index 000000000000..962bd7adb201 --- /dev/null +++ b/dev-perl/Text-BibTeX/Text-BibTeX-0.890.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=AMBS +DIST_VERSION=0.89 +DIST_EXAMPLES=( "examples/*" "scripts/*" ) + +inherit perl-module + +DESCRIPTION="A Perl library for reading, parsing, and processing BibTeX files" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" + +RDEPEND=" + !dev-libs/btparse + virtual/perl-Encode + virtual/perl-Scalar-List-Utils + virtual/perl-Unicode-Normalize +" +BDEPEND=" + ${RDEPEND} + >=dev-perl/Config-AutoConf-0.320 + >=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 +} |