summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-03 21:01:46 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-04 10:37:24 +0100
commit31e21551da418ddc7a177c7c869070e9acca817c (patch)
tree0ad1bfcfc7068989bcb92c3f4499f5a84cfd8c95 /net-libs/quiche
parent*/*: Switch games proj to cmake.eclass (diff)
downloadgentoo-31e21551da418ddc7a177c7c869070e9acca817c.tar.gz
gentoo-31e21551da418ddc7a177c7c869070e9acca817c.tar.bz2
gentoo-31e21551da418ddc7a177c7c869070e9acca817c.zip
*/*: Switch candrews' packages to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-libs/quiche')
-rw-r--r--net-libs/quiche/quiche-0.1.0-r1.ebuild8
-rw-r--r--net-libs/quiche/quiche-9999.ebuild8
2 files changed, 8 insertions, 8 deletions
diff --git a/net-libs/quiche/quiche-0.1.0-r1.ebuild b/net-libs/quiche/quiche-0.1.0-r1.ebuild
index 38155800dc09..8b2edcdb5727 100644
--- a/net-libs/quiche/quiche-0.1.0-r1.ebuild
+++ b/net-libs/quiche/quiche-0.1.0-r1.ebuild
@@ -122,7 +122,7 @@ wincolor-1.0.2
ws2_32-sys-0.2.1
"
-inherit cargo cmake-utils flag-o-matic multilib-minimal rust-toolchain
+inherit cargo cmake flag-o-matic multilib-minimal rust-toolchain
DESCRIPTION="Implementation of the QUIC transport protocol and HTTP/3"
HOMEPAGE="https://github.com/cloudflare/quiche"
@@ -173,7 +173,7 @@ src_unpack() {
src_prepare(){
default
- cmake-utils_src_prepare
+ cmake_src_prepare
multilib_copy_sources
}
@@ -183,11 +183,11 @@ multilib_src_configure(){
-DOPENSSL_NO_ASM=ON
-DBUILD_SHARED_LIBS=OFF
)
- BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake_src_configure
}
multilib_src_compile(){
- BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake-utils_src_compile bssl
+ BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake_src_compile bssl
QUICHE_BSSL_PATH="${BUILD_DIR}/deps/boringssl" cargo_src_compile --features pkg-config-meta --target="$(rust_abi)"
}
diff --git a/net-libs/quiche/quiche-9999.ebuild b/net-libs/quiche/quiche-9999.ebuild
index f1dc7f801705..6a43728ec78d 100644
--- a/net-libs/quiche/quiche-9999.ebuild
+++ b/net-libs/quiche/quiche-9999.ebuild
@@ -122,7 +122,7 @@ wincolor-1.0.2
ws2_32-sys-0.2.1
"
-inherit cargo cmake-utils flag-o-matic multilib-minimal rust-toolchain
+inherit cargo cmake flag-o-matic multilib-minimal rust-toolchain
DESCRIPTION="Implementation of the QUIC transport protocol and HTTP/3"
HOMEPAGE="https://github.com/cloudflare/quiche"
@@ -173,7 +173,7 @@ src_unpack() {
src_prepare(){
default
- cmake-utils_src_prepare
+ cmake_src_prepare
multilib_copy_sources
}
@@ -183,11 +183,11 @@ multilib_src_configure(){
-DOPENSSL_NO_ASM=ON
-DBUILD_SHARED_LIBS=OFF
)
- BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake_src_configure
}
multilib_src_compile(){
- BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake-utils_src_compile bssl
+ BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake_src_compile bssl
QUICHE_BSSL_PATH="${BUILD_DIR}/deps/boringssl" cargo_src_compile --features pkg-config-meta --target="$(rust_abi)"
}