EAPI=7
+CMAKE_ECLASS=cmake
inherit cmake-multilib
DESCRIPTION="Unit testing framework for C"
-DWITH_EXAMPLES=$(usex examples)
-DWITH_STATIC_LIB=$(usex static-libs)
-DUNIT_TESTING=$(usex test)
- $(multilib_is_native_abi && cmake-utils_use_find_package doc Doxygen \
+ $(multilib_is_native_abi && cmake_use_find_package doc Doxygen \
|| echo -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_compile() {
- cmake-utils_src_compile
- multilib_is_native_abi && use doc && cmake-utils_src_compile docs
+ cmake_src_compile
+ multilib_is_native_abi && use doc && cmake_src_compile docs
}
multilib_src_install() {
local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
fi
- cmake-utils_src_install
+ cmake_src_install
}
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
fi
+CMAKE_ECLASS=cmake
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit cmake-multilib python-any-r1
iconv -f LATIN1 -t UTF-8 doc/cmd.txt > doc/cmd.txt.tmp || die
mv -f doc/cmd.txt.tmp doc/cmd.txt || die
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -e "/^include.*compilerFlags/s/^/#DONT /" -i CMakeLists.txt || die
}
-DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html
)
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if multilib_is_native_abi; then
use doc && eninja doc
EAPI=7
+CMAKE_ECLASS=cmake
COMMIT=54508df30bc888c4d2359576ceb0cc8f2fa8dbdf
inherit cmake-multilib
S="${WORKDIR}/${PN}-${COMMIT}"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -e "s/BUILD_TESTS AND NOT BUILD_SHARED_LIBS/BUILD_TESTS/" \
-i CMakeLists.txt \
-DBUILD_TESTS=$(usex test)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
+CMAKE_ECLASS=cmake
inherit cmake-multilib
DESCRIPTION="Access a working SSH implementation by means of a library"
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# just install the examples, do not compile them
cmake_comment_add_subdirectory examples
multilib_is_native_abi || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON )
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_compile() {
- cmake-utils_src_compile
- multilib_is_native_abi && use doc && cmake-utils_src_compile docs
+ cmake_src_compile
+ multilib_is_native_abi && use doc && cmake_src_compile docs
}
multilib_src_install() {
- cmake-utils_src_install
+ cmake_src_install
multilib_is_native_abi && use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
# compatibility symlink until all consumers have been updated
EAPI=7
+CMAKE_ECLASS=cmake
inherit cmake-multilib
DESCRIPTION="Access a working SSH implementation by means of a library"
RESTRICT+=" !test? ( test )"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# just install the examples, do not compile them
cmake_comment_add_subdirectory examples
multilib_is_native_abi || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON )
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_compile() {
- cmake-utils_src_compile
- multilib_is_native_abi && use doc && cmake-utils_src_compile docs
+ cmake_src_compile
+ multilib_is_native_abi && use doc && cmake_src_compile docs
}
multilib_src_install() {
- cmake-utils_src_install
+ cmake_src_install
multilib_is_native_abi && use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
use static-libs && dolib.a src/libssh.a
EAPI=7
+CMAKE_ECLASS=cmake
inherit cmake-multilib
DESCRIPTION="Access a working SSH implementation by means of a library"
RESTRICT+=" !test? ( test )"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# just install the examples, do not compile them
cmake_comment_add_subdirectory examples
multilib_is_native_abi || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON )
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_compile() {
- cmake-utils_src_compile
- multilib_is_native_abi && use doc && cmake-utils_src_compile docs
+ cmake_src_compile
+ multilib_is_native_abi && use doc && cmake_src_compile docs
}
multilib_src_install() {
- cmake-utils_src_install
+ cmake_src_install
multilib_is_native_abi && use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
use static-libs && dolib.a src/libssh.a
EAPI=7
+CMAKE_ECLASS=cmake
MY_PN=${PN}3
MY_P=${MY_PN}-${PV}
inherit cmake-multilib
-DENABLE_DEMO=OFF
)
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
EAPI=7
+CMAKE_ECLASS=cmake
MY_PN=${PN}2
MY_P=${MY_PN}-${PV}
inherit cmake-multilib
-DENABLE_DEMO=OFF
)
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {