summaryrefslogtreecommitdiff
blob: dfc842917676a9e7f91a441b308ec9843e67a3e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

MY_PN="${PN%-cpp}"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="The ANTLR 3 C++ Runtime"
HOMEPAGE="https://www.antlr3.org/"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="3.5"
KEYWORDS="~amd64 ~x86"

S="${WORKDIR}/${MY_PN}3-${PV}"

RDEPEND="!dev-java/antlr:0[cxx]"

src_install() {
	insinto /usr/include/antlr3
	doins "${S}"/runtime/Cpp/include/*
}