dev-cpp/antlr-cpp: install CXX headers in /usr/include instead of /usr/include/antlr3.
authorPatrice Clement <monsieurp@gentoo.org>
Tue, 20 Dec 2016 11:35:22 +0000 (12:35 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 20 Dec 2016 11:36:50 +0000 (12:36 +0100)
Package-Manager: portage-2.3.0

dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild [new file with mode: 0644]

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
new file mode 100644 (file)
index 0000000..9d9560e
--- /dev/null
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=6
+
+MY_PN="${PN%-cpp}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="The ANTLR 3 C++ Runtime"
+HOMEPAGE="http://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}"
+
+src_install() {
+       doheader "${S}"/runtime/Cpp/include/*
+}