mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-04 17:07:08 -08:00
dev-cpp/antlr-cpp-4.7.2: bump
Bug: https://bugs.gentoo.org/692162 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="The ANTLR 4 C++ Runtime"
|
||||
HOMEPAGE="https://www.antlr.org/"
|
||||
SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> ${P}.zip"
|
||||
LICENSE="BSD"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-arch/zip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \
|
||||
"${S}"/runtime/CMakeLists.txt || die "failed sed"
|
||||
|
||||
sed -i -e "s#share/doc/libantlr4#share/doc/${P}#g" \
|
||||
"${S}"/CMakeLists.txt || die "failed sed"
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
Reference in New Issue
Block a user