blob: 2d4fe5983d0f13dab073259e162c73e22f8cbd8b (
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
32
33
34
35
36
37
|
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=TIMLEGGE
DIST_VERSION=0.019
inherit perl-module
DESCRIPTION="Read/write Brotli buffers/streams"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
app-arch/brotli:=
dev-perl/File-Slurper
virtual/perl-Getopt-Long
virtual/perl-Time-HiRes
"
DEPEND="
app-arch/brotli:=
"
BDEPEND="
${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
PATCHES=(
"${FILESDIR}"/${PN}-0.019-unbundle.patch
)
src_prepare() {
# Delete bundled copy, just in case (test data has to be kept)
rm -r brotli/c || die
perl-module_src_prepare
}
|