aboutsummaryrefslogtreecommitdiff
blob: 1fbfecb0380a02780675f35535b960ee841a4b8b (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit R-packages

MY_P="${PN}_$(ver_rs 3 -)"

DESCRIPTION='Boost C++ Header Files'
HOMEPAGE="
	https://github.com/eddelbuettel/bh
	https://cran.r-project.org/package=BH
"
SRC_URI="mirror://cran/src/contrib/${MY_P}.tar.gz"

SLOT="0/${PV}"
LICENSE='Boost-1.0'
KEYWORDS="~amd64"

DEPEND=">=dev-libs/boost-$(ver_cut 1-3)"
RDEPEND="${DEPEND}"

src_prepare() {
	# Do not bundle boost
	rm -rf inst/include/boost || die
	R-packages_src_prepare
}