summaryrefslogtreecommitdiff
blob: 1f7ea8016dd9a157b4d002401238641f97b2f7eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-BibTeX/Text-BibTeX-0.66.ebuild,v 1.1 2013/08/03 20:46:54 mrueg Exp $

EAPI=5

MODULE_AUTHOR="AMBS"
MODULE_SECTION="Text"

inherit perl-module

DESCRIPTION="A Perl library for reading, parsing, and processing BibTeX files"

SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=">=dev-perl/Config-AutoConf-0.16
	>=dev-perl/ExtUtils-LibBuilder-0.02
	>=virtual/perl-ExtUtils-CBuilder-0.27
	>=virtual/perl-Module-Build-0.36.03"
RDEPEND="!dev-libs/btparse
	>=dev-perl/Capture-Tiny-0.06"

SRC_TEST="do"

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
}