summaryrefslogtreecommitdiff
blob: 97d3d633f2fed957e16dd5e86ffc2f05074d9ed6 (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-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DIST_AUTHOR=MHX
DIST_VERSION=0.79
# NB: Examples are generated
DIST_EXAMPLES=("examples/*")
inherit perl-module

DESCRIPTION="Binary Data Conversion using C Types"

SLOT="0"
KEYWORDS="~amd64 ~x86"

# bison >= 1.31?
BDEPEND="virtual/perl-ExtUtils-MakeMaker"

PERL_RM_FILES=(
	tests/802_pod.t
	tests/803_pod_coverage.t
)
src_compile() {
	mymake=(
		"OPTIMIZE=${CFLAGS}"
		# Parallel CC breaks
		"-j1"
	)
	perl-module_src_compile
}