www-apps/libravatarserv: Update eclass: cmake-utils → cmake.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f9bc810116
commit
c7daa5fd16
|
@ -1,9 +1,9 @@
|
||||||
# Copyright 1999-2019 Gentoo Authors
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=7
|
||||||
|
|
||||||
inherit cmake-utils
|
inherit cmake
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
|
@ -45,7 +45,7 @@ if [[ "${PV}" != "9999" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
cmake-utils_src_prepare
|
cmake_src_prepare
|
||||||
sed -i "s|\${CMAKE_INSTALL_DOCDIR}|\${CMAKE_INSTALL_DATAROOTDIR}/doc/${P}|" \
|
sed -i "s|\${CMAKE_INSTALL_DOCDIR}|\${CMAKE_INSTALL_DATAROOTDIR}/doc/${P}|" \
|
||||||
CMakeLists.txt || die "Build script modification failed"
|
CMakeLists.txt || die "Build script modification failed"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
# Copyright 1999-2019 Gentoo Authors
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=7
|
||||||
|
|
||||||
inherit cmake-utils
|
inherit cmake
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DESCRIPTION="Simple libravatar server."
|
DESCRIPTION="Simple libravatar server"
|
||||||
HOMEPAGE="https://schlomp.space/tastytea/libravatarserv"
|
HOMEPAGE="https://schlomp.space/tastytea/libravatarserv"
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
EGIT_REPO_URI="https://schlomp.space/tastytea/libravatarserv.git"
|
EGIT_REPO_URI="https://schlomp.space/tastytea/libravatarserv.git"
|
||||||
|
@ -33,19 +33,10 @@ RDEPEND="
|
||||||
dev-libs/libxdg-basedir
|
dev-libs/libxdg-basedir
|
||||||
dev-cpp/identiconpp
|
dev-cpp/identiconpp
|
||||||
"
|
"
|
||||||
DEPEND="
|
DEPEND="${RDEPEND}"
|
||||||
dev-util/cmake
|
|
||||||
${RDEPEND}
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS="README.md doc/nginx-example.conf"
|
DOCS=("README.md" "doc/nginx-example.conf")
|
||||||
|
|
||||||
if [[ "${PV}" != "9999" ]]; then
|
if [[ "${PV}" != "9999" ]]; then
|
||||||
S="${WORKDIR}/${PN}"
|
S="${WORKDIR}/${PN}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
sed -i "s|\${CMAKE_INSTALL_DOCDIR}|\${CMAKE_INSTALL_DATAROOTDIR}/doc/${P}|" \
|
|
||||||
CMakeLists.txt || die "Build script modification failed"
|
|
||||||
}
|
|
||||||
|
|
Reference in New Issue
Block a user