sys-fs/cryfs: Switch to cmake.eclass

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2020-01-19 00:08:48 +01:00
parent 1097df5026
commit 7ea75541b0
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{6,7}} )
inherit cmake-utils flag-o-matic linux-info python-any-r1
inherit cmake flag-o-matic linux-info python-any-r1
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
@@ -50,7 +50,7 @@ pkg_setup() {
}
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
# don't install compressed manpage
cmake_comment_add_subdirectory doc
@@ -74,7 +74,7 @@ src_configure() {
)
use custom-optimization || append-flags -O3
cmake-utils_src_configure
cmake_src_configure
}
src_test() {
@@ -94,6 +94,6 @@ src_test() {
}
src_install() {
cmake-utils_src_install
cmake_src_install
doman doc/man/cryfs.1
}
+3 -3
View File
@@ -5,7 +5,7 @@ EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
PYTHON_COMPAT=( python{2_7,3_{6,7}} )
inherit cmake-utils flag-o-matic linux-info python-any-r1
inherit cmake flag-o-matic linux-info python-any-r1
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
@@ -46,7 +46,7 @@ pkg_setup() {
}
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
# don't install compressed manpage
cmake_comment_add_subdirectory doc
@@ -69,7 +69,7 @@ src_configure() {
)
use custom-optimization || append-flags -O3
cmake-utils_src_configure
cmake_src_configure
}
src_test() {