gjdwebserver-overlay/dev-libs/libphonenumber/libphonenumber-8.12.38.ebuild

31 lines
629 B
Bash
Raw Normal View History

2021-07-24 03:49:41 +02:00
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
2021-07-24 21:03:58 +02:00
CMAKE_MAKEFILE_GENERATOR=emake
CMAKE_USE_DIR="${S}/cpp"
inherit java-pkg-2 cmake
2021-07-24 03:49:41 +02:00
DESCRIPTION="library for parsing, formatting, and validating international phone numbers"
HOMEPAGE="https://github.com/google/libphonenumber"
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
LICENSE="Apache-2.0"
SLOT="0"
2021-07-24 21:03:58 +02:00
DEPEND="
dev-libs/icu
dev-libs/protobuf
dev-libs/boost
2021-07-24 03:49:41 +02:00
"
RDEPEND="${DEPEND}"
2021-07-24 21:03:58 +02:00
BDEPEND="
dev-cpp/gtest
virtual/jdk
2021-07-24 03:49:41 +02:00
"
2021-07-24 21:03:58 +02:00
RESTRICT="test" # bug 668872