1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DIST_EXAMPLES=( "examples/*" "scripts/*" )
12 DESCRIPTION="A Perl library for reading, parsing, and processing BibTeX files"
15 KEYWORDS="amd64 ~arm ~arm64 x86"
17 RESTRICT="!test? ( test )"
22 virtual/perl-Scalar-List-Utils
23 virtual/perl-Unicode-Normalize
26 >=dev-perl/Config-AutoConf-0.160.0
27 >=dev-perl/ExtUtils-LibBuilder-0.20.0
28 >=virtual/perl-ExtUtils-CBuilder-0.270.0
29 >=dev-perl/Module-Build-0.360.300
31 >=dev-perl/Capture-Tiny-0.60.0
35 sed -i -e "/#include <stdio.h>/a #include <string.h>"\
36 btparse/tests/{tex,purify,postprocess,name,macro}_test.c || die
37 perl-module_src_prepare
41 perl-module_src_install
42 doheader btparse/src/btparse.h
43 doheader btparse/src/bt_config.h