Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
src_prepare() {
cmake-utils_src_prepare
+ # don't install compressed manpage
+ cmake_comment_add_subdirectory doc
+
# remove tests that require internet access to comply with Gentoo policy
sed -e "/CurlHttpClientTest.cpp/d" -e "/FakeHttpClientTest.cpp/d" \
-i test/cpp-utils/CMakeLists.txt || die
# work around upstream issue with cmake not creating install target
# in Makefile if we enable BUILD_TESTING
dobin "${BUILD_DIR}/src/cryfs-cli/cryfs"
- gzip -cd "${BUILD_DIR}/doc/cryfs.1.gz" > "${T}/cryfs.1" || die
- doman "${T}/cryfs.1"
+ doman doc/man/cryfs.1
einstalldocs
}